Latest version does not build on stable rust #2

Closed
opened 2020-05-16 21:51:06 +02:00 by sbruder · 1 comment

Since 4831298a9b this does not build with the latest stable rust anymore:

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> src/lib.rs:1:1
  |
1 | #![feature(test)]
  | ^^^^^^^^^^^^^^^^^

Since that only seems to affects testing: Is it possible to split the code so it can be built (with stable rust) without tests? Otherwise I think the readme should be changed (currently: “it works with stable rust 1.41”).

Reproducible with docker: docker run --rm -it rust sh -c 'git clone --depth=1 https://git.kageru.moe/kageru/adaptivegrain && cd adaptivegrain && cargo build --release'

Since 4831298a9bbaf8c23618e98a530cc1b44c38a109 this does not build with the latest stable rust anymore: ``` error[E0554]: `#![feature]` may not be used on the stable release channel --> src/lib.rs:1:1 | 1 | #![feature(test)] | ^^^^^^^^^^^^^^^^^ ``` Since that only seems to affects testing: Is it possible to split the code so it can be built (with stable rust) without tests? Otherwise I think the readme should be changed (currently: “it works with stable rust 1.41”). Reproducible with docker: `docker run --rm -it rust sh -c 'git clone --depth=1 https://git.kageru.moe/kageru/adaptivegrain && cd adaptivegrain && cargo build --release'`
Author

Thank you for fixing this in d9b960c6c1

Thank you for fixing this in d9b960c6c13f3a1d1f390919d7a3952591179a17
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kageru/adaptivegrain#2
No description provided.