Skip to content
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

无法编译通过 #3

Closed
Ruilkyu opened this issue Jan 25, 2021 · 3 comments
Closed

无法编译通过 #3

Ruilkyu opened this issue Jan 25, 2021 · 3 comments

Comments

@Ruilkyu
Copy link

Ruilkyu commented Jan 25, 2021

error[E0554]: #![feature] may not be used on the stable release channel
--> /Users/lr/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/delay_timer-0.2.1/src/lib.rs:205:1
|
205 | #![feature(linked_list_cursors)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #![feature] may not be used on the stable release channel
--> /Users/lr/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/delay_timer-0.2.1/src/lib.rs:206:1
|
206 | #![feature(doc_cfg)]
| ^^^^^^^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'split_inclusive'
--> /Users/lr/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/delay_timer-0.2.1/src/utils/parse.rs:149:52
|
149 | let mut sub_command_inner = command.trim().split_inclusive(angle_bracket).rev();
| ^^^^^^^^^^^^^^^
|
= note: see issue #72360 rust-lang/rust#72360 for more information

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0554, E0658.
For more information about an error, try rustc --explain E0554.
error: could not compile delay_timer.

@BinChengZhao
Copy link
Owner

请使用最新的 nightly 工具链进行编译。

原因:
目前因为引入了std几个最新的feature 他们还没有稳定到std , 如 linked_list_cursorsdoc_cfg

在下个版本中会彻底stable, 最低编译器版本应该 1.51.*

@BinChengZhao
Copy link
Owner

error[E0554]: #![feature] may not be used on the stable release channel
--> /Users/lr/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/delay_timer-0.2.1/src/lib.rs:205:1
|
205 | #![feature(linked_list_cursors)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #![feature] may not be used on the stable release channel
--> /Users/lr/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/delay_timer-0.2.1/src/lib.rs:206:1
|
206 | #![feature(doc_cfg)]
| ^^^^^^^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'split_inclusive'
--> /Users/lr/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/delay_timer-0.2.1/src/utils/parse.rs:149:52
|
149 | let mut sub_command_inner = command.trim().split_inclusive(angle_bracket).rev();
| ^^^^^^^^^^^^^^^
|
= note: see issue #72360 rust-lang/rust#72360 for more information

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0554, E0658.
For more information about an error, try rustc --explain E0554.
error: could not compile delay_timer.

请使用最新的 nightly 工具链进行编译。

原因:
目前因为引入了std几个最新的feature 他们还没有稳定到std , 如 linked_list_cursors 与 doc_cfg 。

在下个版本中会彻底stable, 最低编译器版本应该 1.51.* 。

@Ruilkyu
Copy link
Author

Ruilkyu commented Jan 25, 2021

好的,感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants