mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
Add core lib to proc_macro dependencies
This commit is contained in:
parent
38e9a110d4
commit
d8c80e7d95
@ -276,4 +276,7 @@ unwind
|
||||
std_detect
|
||||
test";
|
||||
|
||||
const PROC_MACRO_DEPS: &str = "std";
|
||||
// core is required for our builtin derives to work in the proc_macro lib currently
|
||||
const PROC_MACRO_DEPS: &str = "
|
||||
std
|
||||
core";
|
||||
|
@ -1547,6 +1547,15 @@ fn rust_project_hello_world_project_model() {
|
||||
),
|
||||
prelude: true,
|
||||
},
|
||||
Dependency {
|
||||
crate_id: CrateId(
|
||||
1,
|
||||
),
|
||||
name: CrateName(
|
||||
"core",
|
||||
),
|
||||
prelude: true,
|
||||
},
|
||||
],
|
||||
proc_macro: Err(
|
||||
"no proc macro loaded for sysroot crate",
|
||||
|
Loading…
Reference in New Issue
Block a user