Open
Description
Problem
As given in title.
Steps
git clone --branch v2.0.0 https://github.com/thecoshman/http
cargo build
it from the directory (works)cargo install --git --branch v2.0.0 https://github.com/thecoshman/http
(or whatever the spelling is, this is currently HEAD) –
Compiling rand v0.7.3
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/nabijaczleweli/.cargo/registry/src/index.crates.io-6f17d22bba15001f/brotli-6.0.0/src/lib.rs:8:39
|
8 | #![cfg_attr(feature = "simd", feature(portable_simd))]
| ^^^^^^^^^^^^^
- Removing features = simd from brotli fixes it.
Possible Solution(s)
No response
Notes
May have something to do with .cargo/config.toml
setting env.RUSTC_BOOTSTRAP = 1
? But the thing it's used for in the crate itself does work.
Version
$ cargo version --verbose
cargo 1.78.0 (54d8815d0 2024-03-26)
release: 1.78.0
commit-hash: 54d8815d04fa3816edc207bbc4dd36bf18014dbc
commit-date: 2024-03-26
host: x86_64-unknown-linux-gnu
libgit2: 1.7.2 (sys:0.18.2 vendored)
libcurl: 8.6.0-DEV (sys:0.4.72+curl-8.6.0 vendored ssl:OpenSSL/1.1.1w)
ssl: OpenSSL 1.1.1w 11 Sep 2023
os: Debian 12 (bookworm) [64-bit]