kitgit

tirbofish/dropbear · diff

931374c · tk

potential fix? also changed from musl to gnu compilation. typeid issue might be fixed by switching from cdylib to a normal dylib target.

Unverified

diff --git a/.github/workflows/create_executable.yaml b/.github/workflows/create_executable.yaml
index 500b48f..95c7b4e 100644
--- a/.github/workflows/create_executable.yaml
+++ b/.github/workflows/create_executable.yaml
@@ -4,7 +4,7 @@ on:
     branches:
       - '**'
   pull_request: {}
-  workflow_dispatch:  # Add manual trigger
+  workflow_dispatch:
 jobs:
   build:
     if: contains(github.event.head_commit.message, 'jarvis, run github actions') || github.event_name == 'workflow_dispatch'
@@ -19,7 +19,7 @@ jobs:
             ext: .exe
           - os: ubuntu-latest
             os_name: linux-x64
-            target: x86_64-unknown-linux-musl
+            target: x86_64-unknown-linux-gnu
             ext: ""
           - os: macos-latest
             os_name: macos-arm64
@@ -56,9 +56,6 @@ jobs:
         uses: dtolnay/rust-toolchain@stable
         with:
           targets: ${{ matrix.target }}
-      - name: install musl rust toolchain (linux)
-        if: matrix.os == 'ubuntu-latest'
-        run: rustup target add x86_64-unknown-linux-musl
       - name: build eucalyptus-core libs
         run: cargo build --release --package eucalyptus-core --target ${{ matrix.target }}
       - name: build eucalyptus-editor
diff --git a/eucalyptus-core/Cargo.toml b/eucalyptus-core/Cargo.toml
index 639dac8..d6945c8 100644
--- a/eucalyptus-core/Cargo.toml
+++ b/eucalyptus-core/Cargo.toml
@@ -7,7 +7,7 @@ repository.workspace = true
 readme = "README.md"
 
 [lib]
-crate-type = ["rlib", "cdylib", "staticlib"]
+crate-type = ["rlib", "dylib"]
 
 [dependencies]
 anyhow.workspace = true