tirbofish/dropbear · diff
@@ -1,2 +1,8 @@ -[target.x86_64-pc-windows-msvc] -rustflags = ["-C", "target-feature=+crt-static", "-C", "prefer-dynamic"] +[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"] @@ -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