Skip to content

Commit 02f2cb1

Browse files
committed
Fix paths
1 parent 4e3ba84 commit 02f2cb1

File tree

4 files changed

+29
-36
lines changed

4 files changed

+29
-36
lines changed

library/Cargo.lock

Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version = "0.24.2"
88
source = "registry+https://github.com/rust-lang/crates.io-index"
99
checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
1010
dependencies = [
11-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
11+
"compiler_builtins",
1212
"gimli",
1313
"rustc-std-workspace-alloc",
1414
"rustc-std-workspace-core",
@@ -20,15 +20,15 @@ version = "2.0.0"
2020
source = "registry+https://github.com/rust-lang/crates.io-index"
2121
checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
2222
dependencies = [
23-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
23+
"compiler_builtins",
2424
"rustc-std-workspace-core",
2525
]
2626

2727
[[package]]
2828
name = "alloc"
2929
version = "0.0.0"
3030
dependencies = [
31-
"compiler_builtins 0.1.160",
31+
"compiler_builtins",
3232
"core",
3333
]
3434

@@ -62,18 +62,10 @@ name = "compiler_builtins"
6262
version = "0.1.160"
6363
dependencies = [
6464
"cc",
65+
"core",
6566
"panic-handler",
6667
]
6768

68-
[[package]]
69-
name = "compiler_builtins"
70-
version = "0.1.160"
71-
source = "registry+https://github.com/rust-lang/crates.io-index"
72-
checksum = "6376049cfa92c0aa8b9ac95fae22184b981c658208d4ed8a1dc553cd83612895"
73-
dependencies = [
74-
"rustc-std-workspace-core",
75-
]
76-
7769
[[package]]
7870
name = "core"
7971
version = "0.0.0"
@@ -93,7 +85,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
9385
checksum = "8cff88b751e7a276c4ab0e222c3f355190adc6dde9ce39c851db39da34990df7"
9486
dependencies = [
9587
"cfg-if",
96-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
88+
"compiler_builtins",
9789
"libc",
9890
"rustc-std-workspace-core",
9991
"windows-sys",
@@ -105,7 +97,7 @@ version = "0.5.0"
10597
source = "registry+https://github.com/rust-lang/crates.io-index"
10698
checksum = "57cafc2274c10fab234f176b25903ce17e690fca7597090d50880e047a0389c5"
10799
dependencies = [
108-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
100+
"compiler_builtins",
109101
"rustc-std-workspace-core",
110102
]
111103

@@ -126,7 +118,7 @@ version = "0.31.1"
126118
source = "registry+https://github.com/rust-lang/crates.io-index"
127119
checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
128120
dependencies = [
129-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
121+
"compiler_builtins",
130122
"rustc-std-workspace-alloc",
131123
"rustc-std-workspace-core",
132124
]
@@ -146,7 +138,7 @@ version = "0.5.1"
146138
source = "registry+https://github.com/rust-lang/crates.io-index"
147139
checksum = "f154ce46856750ed433c8649605bf7ed2de3bc35fd9d2a9f30cddd873c80cb08"
148140
dependencies = [
149-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
141+
"compiler_builtins",
150142
"rustc-std-workspace-alloc",
151143
"rustc-std-workspace-core",
152144
]
@@ -166,7 +158,7 @@ version = "2.7.4"
166158
source = "registry+https://github.com/rust-lang/crates.io-index"
167159
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
168160
dependencies = [
169-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
161+
"compiler_builtins",
170162
"rustc-std-workspace-core",
171163
]
172164

@@ -177,7 +169,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
177169
checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a"
178170
dependencies = [
179171
"adler2",
180-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
172+
"compiler_builtins",
181173
"rustc-std-workspace-alloc",
182174
"rustc-std-workspace-core",
183175
]
@@ -188,7 +180,7 @@ version = "0.36.7"
188180
source = "registry+https://github.com/rust-lang/crates.io-index"
189181
checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
190182
dependencies = [
191-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
183+
"compiler_builtins",
192184
"memchr",
193185
"rustc-std-workspace-alloc",
194186
"rustc-std-workspace-core",
@@ -203,7 +195,7 @@ name = "panic_abort"
203195
version = "0.0.0"
204196
dependencies = [
205197
"alloc",
206-
"compiler_builtins 0.1.160",
198+
"compiler_builtins",
207199
"core",
208200
"libc",
209201
]
@@ -214,7 +206,7 @@ version = "0.0.0"
214206
dependencies = [
215207
"alloc",
216208
"cfg-if",
217-
"compiler_builtins 0.1.160",
209+
"compiler_builtins",
218210
"core",
219211
"libc",
220212
"unwind",
@@ -242,7 +234,7 @@ version = "5.2.0"
242234
source = "registry+https://github.com/rust-lang/crates.io-index"
243235
checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
244236
dependencies = [
245-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
237+
"compiler_builtins",
246238
"rustc-std-workspace-core",
247239
]
248240

@@ -252,7 +244,7 @@ version = "2.0.0"
252244
source = "registry+https://github.com/rust-lang/crates.io-index"
253245
checksum = "e43c53ff1a01d423d1cb762fd991de07d32965ff0ca2e4f80444ac7804198203"
254246
dependencies = [
255-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
247+
"compiler_builtins",
256248
"r-efi",
257249
"rustc-std-workspace-core",
258250
]
@@ -309,7 +301,7 @@ dependencies = [
309301
name = "rustc-std-workspace-core"
310302
version = "1.99.0"
311303
dependencies = [
312-
"compiler_builtins 0.1.160",
304+
"compiler_builtins",
313305
"core",
314306
]
315307

@@ -333,7 +325,7 @@ dependencies = [
333325
"addr2line",
334326
"alloc",
335327
"cfg-if",
336-
"compiler_builtins 0.1.160",
328+
"compiler_builtins",
337329
"core",
338330
"dlmalloc",
339331
"fortanix-sgx-abi",
@@ -399,7 +391,7 @@ name = "unwind"
399391
version = "0.0.0"
400392
dependencies = [
401393
"cfg-if",
402-
"compiler_builtins 0.1.160",
394+
"compiler_builtins",
403395
"core",
404396
"libc",
405397
"unwinding",
@@ -411,7 +403,7 @@ version = "0.2.6"
411403
source = "registry+https://github.com/rust-lang/crates.io-index"
412404
checksum = "8393f2782b6060a807337ff353780c1ca15206f9ba2424df18cb6e733bd7b345"
413405
dependencies = [
414-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
406+
"compiler_builtins",
415407
"gimli",
416408
"rustc-std-workspace-core",
417409
]
@@ -422,7 +414,7 @@ version = "0.11.0+wasi-snapshot-preview1"
422414
source = "registry+https://github.com/rust-lang/crates.io-index"
423415
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
424416
dependencies = [
425-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
417+
"compiler_builtins",
426418
"rustc-std-workspace-alloc",
427419
"rustc-std-workspace-core",
428420
]

library/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ cfg-if = { git = "https://github.com/tgross35/cfg-if.git", branch = "no-compiler
5454
hashbrown = { git = "https://github.com/tgross35/hashbrown.git", branch = "no-compiler-builtins"}
5555
rustc-demangle = { git = "https://github.com/tgross35/rustc-demangle.git", branch = "no-compiler-builtins"}
5656
unicode-width = { git = "https://github.com/tgross35/unicode-width.git", branch = "no-compiler-builtins"}
57+
compiler_builtins = { path = "compiler-builtins/compiler-builtins" }

library/compiler-builtins/compiler-builtins/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ test = false
1919
[dependencies]
2020
# For more information on this dependency see
2121
# https://github.com/rust-lang/rust/tree/master/library/rustc-std-workspace-core
22+
core = { path = "../../core", optional = true }
2223
# core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
2324

2425
[build-dependencies]
@@ -53,8 +54,7 @@ mem = []
5354
mangled-names = []
5455

5556
# Only used in the compiler's build system
56-
# rustc-dep-of-std = ["compiler-builtins", "dep:core"]
57-
rustc-dep-of-std = ["compiler-builtins"]
57+
rustc-dep-of-std = ["compiler-builtins", "dep:core"]
5858

5959
# This makes certain traits and function specializations public that
6060
# are not normally public but are required by the `builtins-test`
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
//! This is needed for tests on targets that require a `#[panic_handler]` function
1+
// //! This is needed for tests on targets that require a `#[panic_handler]` function
22

33
#![feature(no_core)]
44
#![no_core]
55

6-
extern crate core;
6+
// extern crate core;
77

8-
#[panic_handler]
9-
fn panic(_: &core::panic::PanicInfo) -> ! {
10-
loop {}
11-
}
8+
// #[panic_handler]
9+
// fn panic(_: &core::panic::PanicInfo) -> ! {
10+
// loop {}
11+
// }

0 commit comments

Comments
 (0)