mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
This completes the transition to compiling Servo with rust stable. Some nightly-only features are still used when compiling the `script` and `crown` crates, as well as for some style unit tests. These will likely break with newer compiler versions, but `crown` can be disabled for them conditionally. This is just the first step. This has some caveats: 1. We need to disable setting up the special linker on Linux. The -Z option isn't supported with stable rust so using this is out -- meanwhile we can't be sure that lld is installed on most systems. 2. `cargo fmt` still uses some unstable options, so we need to rely on the unstable toolchain just for running `fmt`. The idea is to fix this gradually.
13 lines
226 B
TOML
13 lines
226 B
TOML
[toolchain]
|
|
channel = "1.74"
|
|
components = [
|
|
# For support/crown
|
|
"llvm-tools",
|
|
# For support/crown
|
|
"rustc-dev",
|
|
# For docs building
|
|
"rust-docs",
|
|
# For formatting
|
|
"rustfmt",
|
|
]
|
|
profile = "minimal"
|