IntegratedTurtle / Rocketdustry

GNU General Public License v3.0
1 stars 1 forks source link

Compile Error #5

Closed JulianBarat closed 9 months ago

JulianBarat commented 10 months ago

nach git fetch, git pull und cargo run kommt folgender Error:

warning: unused manifest key: toolchain
   Compiling bevy_render v0.11.3
   Compiling bevy_audio v0.11.3
   Compiling umath v0.0.7
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> /Users/name/.cargo/registry/src/index.crates.io-6f17d22bba15001f/umath-0.0.7/src/lib.rs:10:12
   |
10 | #![feature(core_intrinsics)]
   |            ^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `umath` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Bkeinn commented 10 months ago

Das Problem ist, das du dich auf dem stable channel befindest https://rust-lang.github.io/rustup/concepts/channels.html Versuche mit rustup toolchain install nightly Auf die nightly toolchain zu wechseln

JulianBarat commented 9 months ago

Falls jemand die nightly installiert hat aber es Systemweit nicht verwendet einfach statt cargo run cargo run +nightly verwenden.

JulianBarat commented 9 months ago

Funktioniert doch nicht...

Bkeinn commented 9 months ago

Also Funktioniert es algemien nicht oder cargo run +nightly nicht

JulianBarat commented 9 months ago

allgemein, die cargo version hat weder etwas mit der stable build noch mit der nightly build version von rustup zu tun.

Bkeinn commented 9 months ago

Dann musst du das neue Output reinschicken

JulianBarat commented 9 months ago

Ich hatte zwei conflicting Rust-Installationen, die ursprüngliche Methode funktioniert. Tipp für Mac-User, checken ob es eine Rust-Installation von Homebrew gibt, wenn ja per brew uninstall Rust löschen.

Bkeinn commented 9 months ago

Schreib das ins wiki