]> git.lizzy.rs Git - rust.git/blobdiff - library/proc_macro/Cargo.toml
Auto merge of #96528 - Dylan-DPC:rollup-iedbjli, r=Dylan-DPC
[rust.git] / library / proc_macro / Cargo.toml
index db5e2e4e245ea59f84c5828116a313d543f29c4c..e54a50aa15c616bcf16b03e186ec4abf4985e51d 100644 (file)
@@ -5,3 +5,7 @@ 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" }