You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm totally new to Rust (the first contact I'm having with the language is to try to use this sofware), and I'm no professional in anything related to programming, so maybe I'm doing some obvious mistake here.
On Windows 10 64 bit, I've downloaded Rust, installed, downloaded Build Tools for Visual Studio 2019, and, using rustup, I've updated Rust to the nightly build.
When I type Cargo Run or Cargo Build in the directory I've unziped the 1.5.1 files, I've got the folowing:
error[E0658]: attributes on expressions are experimental
--> src\main.rs:206:17
|
206 | #[cfg(target_os = "windows")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
= help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable
error: removing an expression is not supported in this position
--> src\main.rs:206:17
|
206 | #[cfg(target_os = "windows")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `enginesound`
To learn more, run the command again with --verbose.
There are 9 warnings before this, but are all related to never used functions or constants.
The text was updated successfully, but these errors were encountered:
Hi, I'm totally new to Rust (the first contact I'm having with the language is to try to use this sofware), and I'm no professional in anything related to programming, so maybe I'm doing some obvious mistake here.
On Windows 10 64 bit, I've downloaded Rust, installed, downloaded Build Tools for Visual Studio 2019, and, using rustup, I've updated Rust to the nightly build.
When I type Cargo Run or Cargo Build in the directory I've unziped the 1.5.1 files, I've got the folowing:
There are 9 warnings before this, but are all related to never used functions or constants.
The text was updated successfully, but these errors were encountered: