summaryrefslogtreecommitdiffstats
path: root/library/proc_macro/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'library/proc_macro/Cargo.toml')
-rw-r--r--library/proc_macro/Cargo.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/library/proc_macro/Cargo.toml b/library/proc_macro/Cargo.toml
new file mode 100644
index 000000000..e54a50aa1
--- /dev/null
+++ b/library/proc_macro/Cargo.toml
@@ -0,0 +1,11 @@
+[package]
+name = "proc_macro"
+version = "0.0.0"
+edition = "2021"
+
+[dependencies]
+std = { path = "../std" }
+# Workaround: when documenting this crate rustdoc will try to load crate named
+# `core` when resolving doc links. Without this line a different `core` will be
+# loaded from sysroot causing duplicate lang items and other similar errors.
+core = { path = "../core" }