#atomic_cas is unsupported or disabled (M1)

11 messages · Page 1 of 1 (latest)

untold merlin
#

for some reason atomic_cas is unsupported/disabled on my machine,
i.e. any function with #[cfg(atomic_cas)] is disabled and i can't compile certain programs (bevy) because of it.

i should note that i'm using apple m1 which may be the issue

the issue seems to only be reproducible on my machine as others on m1 have successfully compiled the same applications

old stratus
#

wait does bevy support metal? oh cool it does

untold merlin
# old stratus wait does bevy support metal? oh cool it does

bevy should support it and other m1 users have run exactly what i'm running successfully. it seems to be something off with my computer because something as simple as

use bevy::prelude::*;

fn main() {
    App::new().run()
}
``````toml
[package]
name = "kara"
version = "0.1.0"
edition = "2021"

[dependencies]
bevy = "0.7.0"
``` won't compile
old stratus
untold merlin
#

i tried that as well as reinstalling rust, restarting my computer, using and nightly

#

for some reason it spontaneously decided to start working

#

is there any error emitted when it won't compile?
the error was essentially caused by the original message in the thread

old stratus
#

i guess it works now ferrisGrimace

untold merlin
#

until it doesn't😭