cross-rs / cross

“Zero setup” cross compilation and “cross testing” of Rust crates
Apache License 2.0
6.49k stars 365 forks source link

Update zig-cc and zigbuild versions. #1330

Closed sagudev closed 1 year ago

sagudev commented 1 year ago

Currently fails with:

   running: "/target/.zig-cache/cargo-zigbuild/0.17.2/zigcxx-i586-unknown-linux-musl.sh" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m32" "-march=pentium" "-Wl,-melf_i386" "-Wall" "-Wextra" "-o" "/target/i586-unknown-linux-musl/debug/build/hellopp-a1a57f003a4c4646/out/hellopp.o" "-c" "hellopp.cc"
  cargo:warning=error: unsupported linker arg: -melf_i386
Emilgardis commented 1 year ago

bors try --target zig

sagudev commented 1 year ago

Given that we already have warnings in current builds this must be https://github.com/rust-cross/cargo-zigbuild/issues/96.

bors[bot] commented 1 year ago

try

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here. For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

sagudev commented 1 year ago

I do not think that try build works as there was no zig test run.

bors[bot] commented 1 year ago

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here. For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.