-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Cargo build fails on example on MacOS 14.0 because it could not compile ahash #10241
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
Comments
the fix has been merged, and version 0.8.5 has been published. does it work for you with it? |
sorry for the delay; the project now builds, but segfaults on cargo run. i assume this is an OS thing, because i'm just trying to build this: use bevy::prelude::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_systems(Update, bevy::window::close_on_esc)
.run();
} with this Cargo.toml: [package]
name = "bevy-sandbox"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bevy = { version = "0.11.0", features = ["dynamic_linking"] }
# from the bevy book setup process
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3 |
also worth noting that this also happens when dynamic linking is disabled, and after rebuilding without it i got the following error message:
this only happened on the first run after the build, and then i continued to get the same segfault behaviour as before. |
final note for now; this issue only appears on the most recent nightly toolchain, and so it looks like this is a duplicate of #10273. for anyone looking for a workaround, set [profile.dev.package."*"]
opt-level = 2 in your Cargo.toml. |
This looks to be because of ahash #170, which has been fixed and is waiting to be merged into the master branch.
The text was updated successfully, but these errors were encountered: