rust-cross / cargo-zigbuild

Compile Cargo project with zig as linker
MIT License
1.34k stars 50 forks source link

cargo-zigbuild 0.19.0 test failure #257

Open chenrui333 opened 2 weeks ago

chenrui333 commented 2 weeks ago

👋 trying to build the latest release, but run into some build issue. The error log is as below:

error build log ``` error: unknown CPU: 'westmere' error: could not compile `hello_world` (bin "hello_world") due to 1 previous error ```

relates to Homebrew/homebrew-core#175201

messense commented 1 week ago

Is there any RUSTFLAGS set in homebrew? Cross compiling to aarch64-unknown-linux-gnu seems to pass here: https://github.com/rust-cross/cargo-zigbuild/actions/runs/9596022414/job/26461974137#step:19:24

chenrui333 commented 1 week ago

I dont think we have RUSTFLAGS for test-bot setup.

messense commented 1 week ago

Well, Rust 1.79.0 also passes in https://github.com/rust-cross/cargo-zigbuild/actions/runs/9596022414/job/26461974137#step:4:80