about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJeremy Smart <jeremy3141592@gmail.com>2025-06-30 18:04:46 -0400
committerJeremy Smart <jeremy3141592@gmail.com>2025-06-30 20:27:10 -0400
commit1e6e4bb95ab7879283e4274bd80c3e04b1ea3f7c (patch)
tree199d682d45426493399e2203fcb8a5aa89c45441
parent3bf650f980a2ff5dcc521a7138c21f1ed67f0b8b (diff)
downloadrust-1e6e4bb95ab7879283e4274bd80c3e04b1ea3f7c.tar.gz
rust-1e6e4bb95ab7879283e4274bd80c3e04b1ea3f7c.zip
make compiler_builtins a private dependency
-rw-r--r--library/rustc-std-workspace-core/Cargo.toml8
1 files changed, 6 insertions, 2 deletions
diff --git a/library/rustc-std-workspace-core/Cargo.toml b/library/rustc-std-workspace-core/Cargo.toml
index bd318fc2f9e..1ddc112380f 100644
--- a/library/rustc-std-workspace-core/Cargo.toml
+++ b/library/rustc-std-workspace-core/Cargo.toml
@@ -1,3 +1,5 @@
+cargo-features = ["public-dependency"]
+
 [package]
 name = "rustc-std-workspace-core"
 version = "1.99.0"
@@ -11,5 +13,7 @@ edition = "2024"
 path = "lib.rs"
 
 [dependencies]
-core = { path = "../core" }
-compiler_builtins = { path = "../compiler-builtins/compiler-builtins", features = ["compiler-builtins"] }
+core = { path = "../core", public = true }
+compiler_builtins = { path = "../compiler-builtins/compiler-builtins", features = [
+  "compiler-builtins",
+] }