aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/lib.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-12-06 18:36:07 +0100
committerGitHub <noreply@github.com>2023-12-06 17:36:07 +0000
commit7e82c5c957821f1328484e90becec0cfb5572938 (patch)
treeaa4d6d8381565199e7173b5f3828ba1c26337f14 /components/layout_2020/lib.rs
parent9c443cf2c1bbcee1f465cc76b7bf1ab551b85877 (diff)
downloadservo-7e82c5c957821f1328484e90becec0cfb5572938.tar.gz
servo-7e82c5c957821f1328484e90becec0cfb5572938.zip
Compile Servo with the latest version of rust stable (#30831)
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.
Diffstat (limited to 'components/layout_2020/lib.rs')
-rw-r--r--components/layout_2020/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/layout_2020/lib.rs b/components/layout_2020/lib.rs
index 6d2fdcb0375..d8202ffccfe 100644
--- a/components/layout_2020/lib.rs
+++ b/components/layout_2020/lib.rs
@@ -3,7 +3,6 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
#![deny(unsafe_code)]
-#![feature(once_cell)]
mod cell;
pub mod context;