Skip to content

Commit 503251e

Browse files
bootstrap: Only add rustc_randomized_layouts if the crate has it
1 parent fc371d7 commit 503251e

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Cargo.lock

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proc_macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ std = { path = "../std" }
99
# `core` when resolving doc links. Without this line a different `core` will be
1010
# loaded from sysroot causing duplicate lang items and other similar errors.
1111
core = { path = "../core" }
12-
rustc-literal-escaper = "0.0.1"
12+
rustc-literal-escaper = { version = "0.0.2", features = ["rustc-dep-of-std"] }

proc_macro/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#![feature(panic_can_unwind)]
2828
#![feature(restricted_std)]
2929
#![feature(rustc_attrs)]
30+
#![feature(stmt_expr_attributes)]
3031
#![feature(extend_one)]
3132
#![recursion_limit = "256"]
3233
#![allow(internal_features)]

0 commit comments

Comments
 (0)