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

Build in CI on macOS too #42

Merged
merged 2 commits into from
Jan 21, 2023
Merged

Build in CI on macOS too #42

merged 2 commits into from
Jan 21, 2023

Conversation

Cldfire
Copy link
Collaborator

@Cldfire Cldfire commented Jan 21, 2023

No description provided.

@Cldfire
Copy link
Collaborator Author

Cldfire commented Jan 21, 2023

Annoying: https://github.com/Cldfire/nvml-wrapper/actions/runs/3972323448/jobs/6815943172

= note: ld: in /Users/runner/.rustup/toolchains/1.51.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-0c9fcc24a503d489.rlib(lib.rmeta), archive member 'lib.rmeta' with length 33368 is not mach-o or llvm bitcode file '/Users/runner/.rustup/toolchains/1.51.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-0c9fcc24a503d489.rlib'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Looks like Rust < 1.54 doesn't work with xcode 14:

I'm not sure if it is helpful, but this error is curiously similar to the error that versions older than rust 1.54 produce when trying to build any program with Xcode 14. That was fixed via rust-lang/rust#84449.

@Cldfire Cldfire merged commit 9e2dfb7 into master Jan 21, 2023
@Cldfire Cldfire deleted the build-on-macos-in-ci branch January 21, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant