Ah - I forgot that it has to use the nightly compiler channel. Hopefully I will be able to release binaries within the next week.Dariusz wrote: ↑Mon Nov 07, 2022 10:54 amAAce3 wrote: ↑Mon Nov 07, 2022 4:15 amSorry about that! I will get to it as soon as I have the time. I only have a windows exe and am trying to figure out how to compile it for multiple platforms.
Dear AAce3, I paste the messages that appeared during the compilation (MacBook Pro M1) with the hope that it will help.
chessengeria@MBP-Dariusz Downloads % git clone https://github.com/AAce3/ShenYu.git
Cloning into 'ShenYu'...
remote: Enumerating objects: 648, done.
remote: Counting objects: 100% (97/97), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 648 (delta 66), reused 63 (delta 51), pack-reused 551
Receiving objects: 100% (648/648), 145.65 KiB | 1.73 MiB/s, done.
Resolving deltas: 100% (414/414), done.
chessengeria@MBP-Dariusz Downloads % cd ShenYu
chessengeria@MBP-Dariusz ShenYu % ls
Cargo.lock Cargo.toml README.md info src
chessengeria@MBP-Dariusz ShenYu % cargo build --release
Compiling libc v0.2.131
Compiling autocfg v1.1.0
Compiling getrandom v0.1.16
Compiling core-foundation-sys v0.8.3
Compiling cfg-if v1.0.0
Compiling ppv-lite86 v0.2.16
Compiling lazy_static v1.4.0
Compiling half v2.1.0
Compiling fastdivide v0.4.0
Compiling once_cell v1.13.0
Compiling num-traits v0.2.15
Compiling num-integer v0.1.45
Compiling iana-time-zone v0.1.46
Compiling atty v0.2.14
Compiling time v0.1.44
Compiling colored v2.0.0
Compiling rand_core v0.5.1
Compiling rand_chacha v0.2.2
Compiling rand v0.7.3
Compiling chrono v0.4.22
Compiling shenyu v0.1.0 (/Users/chessengeria/Downloads/ShenYu)
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:2:1
|
2 | #![feature(core_intrinsics)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:3:1
|
3 | #![feature(adt_const_params)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:4:1
|
4 | #![feature(is_some_with)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:5:1
|
5 | #![feature(int_roundings)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:6:1
|
6 | #![feature(exclusive_range_pattern)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:2:12
|
2 | #![feature(core_intrinsics)]
| ^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:4:12
|
4 | #![feature(is_some_with)]
| ^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:5:12
|
5 | #![feature(int_roundings)]
| ^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0554`.
error: could not compile `shenyu` due to 8 previous errors
chessengeria@MBP-Dariusz ShenYu % rustc --explain E0554
Feature attributes are only allowed on the nightly release channel. Stable or
beta compilers will not comply.
Erroneous code example:
```
#![feature(lang_items)] // error: `#![feature]` may not be used on the
// stable release channel
```
If you need the feature, make sure to use a nightly release of the compiler
(but be warned that the feature may be removed or altered in the future).
(END)
Code: Select all
rustup toolchain install nightly
Code: Select all
rustup default nightly