Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo-zigbuild 0.19.0 test failure #257

Closed
chenrui333 opened this issue Jun 23, 2024 · 4 comments
Closed

cargo-zigbuild 0.19.0 test failure #257

chenrui333 opened this issue Jun 23, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@chenrui333
Copy link

👋 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 messense added the bug Something isn't working label Jun 24, 2024
@messense
Copy link
Member

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
Copy link
Author

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

@messense
Copy link
Member

@chenrui333
Copy link
Author

Looks like deleting RUSTFLAGS fixed the issue, close via Homebrew/homebrew-core#175201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants