kitgit

tirbofish/dropbear · commit

5e7c2afbabf5fd8e8c22d9ba3731a72e1d82fea9

refactor: changed from `pub fn Java_*` to `pub extern "system" fn Java_*` ci: the rfd crate has a dependency (`ashpd`) that caused a bug while compiling. changed rfd version. chore: updated *most* of the dependencies. wgpu is still at v27 due to egui requiring the dependency. refactor: due to bincode not being updated and the devs basically nuking the entire project, i have to switch to `postcard`. refactor + chore: update rapier3d to the latest version (0.32). refactor: update hecs to the latest version and reflect the new update onto the codebase refactor: remove the old legacy scripting modules opt: optimised incremental builds

Unverified

Thribhu K <4tkbytes@pm.me> · 2026-01-11 09:24

view full diff

diff --git a/.cargo/.config.toml b/.cargo/.config.toml
index 8d15538..a001a2b 100644
--- a/.cargo/.config.toml
+++ b/.cargo/.config.toml
@@ -1,2 +1,8 @@
-[target.x86_64-pc-windows-msvc]
-rustflags = ["-C", "target-feature=+crt-static", "-C", "prefer-dynamic"]
\ No newline at end of file
+[target.'cfg(target_os = "windows")']
+rustflags = ["-C", "target-feature=+crt-static", "-C", "prefer-dynamic", "-C", "link-arg=-fuse-ld=lld"]
+
+[target.'cfg(target_os = "macos")']
+rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld"]
+
+[target.'cfg(target_os = "linux")']
+rustflags = ["-C", "link-arg=-fuse-ld=mold"]
\ No newline at end of file
diff --git a/.github/workflows/create_executable.yaml b/.github/workflows/create_executable.yaml
index 24c48a6..6641cdb 100644
--- a/.github/workflows/create_executable.yaml
+++ b/.github/workflows/create_executable.yaml
@@ -49,15 +49,23 @@ jobs:
       - name: install assimp-utils (Linux)
         if: matrix.os == 'ubuntu-latest'
         run: sudo apt-get install -y assimp-utils
+      - name: install mold linker (Linux)
+        if: matrix.os == 'ubuntu-latest'
+        run: |
+          sudo apt-get install -y mold
+          clang --version || sudo apt-get install -y clang
       - name: install assimp (macOS)
         if: matrix.os == 'macos-latest'
         run: brew install assimp
+      - name: install zld linker (macOS)
+        if: matrix.os == 'macos-latest'
+        run: brew install zld
       - name: install rust toolchain
         uses: dtolnay/rust-toolchain@stable
         with:
           targets: ${{ matrix.target }}
       - name: build eucalyptus packages
-      # run: cargo build --release --package eucalyptus-core --package eucalyptus-editor --package magna-carta --package redback-runtime --target ${{ matrix.target }}
+        # run: cargo build --release --package eucalyptus-core --package eucalyptus-editor --package magna-carta --package redback-runtime --target ${{ matrix.target }}
         run: cargo build --release --package eucalyptus-core --package eucalyptus-editor --package magna-carta --target ${{ matrix.target }}
       - name: prepare the artifact
         run: |
@@ -77,4 +85,4 @@ jobs:
         uses: actions/upload-artifact@v4
         with:
           name: executables-${{ matrix.os_name }}

Large diffs are not rendered by default. Showing the first 50 of 10426 lines. Show full diff