File tree Expand file tree Collapse file tree 15 files changed +42
-20
lines changed
compiler/rustc_codegen_gcc/build_system/build_sysroot
src/tools/miri/cargo-miri/src Expand file tree Collapse file tree 15 files changed +42
-20
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ resolver = "2"
6
6
7
7
[dependencies ]
8
8
core = { path = " ./sysroot_src/library/core" }
9
- compiler_builtins = " 0.1"
10
9
alloc = { path = " ./sysroot_src/library/alloc" }
11
10
std = { path = " ./sysroot_src/library/std" , features = [" panic_unwind" , " backtrace" ] }
12
11
test = { path = " ./sysroot_src/library/test" }
@@ -16,6 +15,7 @@ proc_macro = { path = "./sysroot_src/library/proc_macro" }
16
15
rustc-std-workspace-core = { path = " ./sysroot_src/library/rustc-std-workspace-core" }
17
16
rustc-std-workspace-alloc = { path = " ./sysroot_src/library/rustc-std-workspace-alloc" }
18
17
rustc-std-workspace-std = { path = " ./sysroot_src/library/rustc-std-workspace-std" }
18
+ compiler_builtins = { path = " ./sysroot_src/library/compiler-builtins/compiler-builtins" }
19
19
20
20
# For compiler-builtins we always use a high number of codegen units.
21
21
# The goal here is to place every single intrinsic into its own object
Original file line number Diff line number Diff line change @@ -62,11 +62,9 @@ dependencies = [
62
62
[[package ]]
63
63
name = " compiler_builtins"
64
64
version = " 0.1.160"
65
- source = " registry+https://github.com/rust-lang/crates.io-index"
66
- checksum = " 6376049cfa92c0aa8b9ac95fae22184b981c658208d4ed8a1dc553cd83612895"
67
65
dependencies = [
68
66
" cc" ,
69
- " rustc-std-workspace- core" ,
67
+ " core" ,
70
68
]
71
69
72
70
[[package ]]
@@ -304,6 +302,7 @@ dependencies = [
304
302
name = " rustc-std-workspace-core"
305
303
version = " 1.99.0"
306
304
dependencies = [
305
+ " compiler_builtins" ,
307
306
" core" ,
308
307
]
309
308
Original file line number Diff line number Diff line change @@ -50,3 +50,4 @@ rustc-demangle.opt-level = "s"
50
50
rustc-std-workspace-core = { path = ' rustc-std-workspace-core' }
51
51
rustc-std-workspace-alloc = { path = ' rustc-std-workspace-alloc' }
52
52
rustc-std-workspace-std = { path = ' rustc-std-workspace-std' }
53
+ compiler_builtins = { path = " compiler-builtins/compiler-builtins" }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ bench = false
16
16
17
17
[dependencies ]
18
18
core = { path = " ../core" , public = true }
19
- compiler_builtins = { version = " =0.1.160 " , features = [' rustc-dep-of-std' ] }
19
+ compiler_builtins = { path = " ../compiler-builtins/compiler-builtins " , features = [" rustc-dep-of-std" ] }
20
20
21
21
[features ]
22
22
compiler-builtins-mem = [' compiler_builtins/mem' ]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ publish = false
6
6
license = " MIT OR Apache-2.0"
7
7
8
8
[dependencies ]
9
- compiler_builtins = { path = " ../compiler-builtins" , features = [" compiler-builtins" ]}
9
+ compiler_builtins = { path = " ../compiler-builtins" , features = [" compiler-builtins" ] }
10
10
panic-handler = { path = " ../crates/panic-handler" }
11
11
12
12
[features ]
Original file line number Diff line number Diff line change @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [ Unreleased]
9
9
10
+ ## [ 0.1.160] ( https://github.com/rust-lang/compiler-builtins/compare/compiler_builtins-v0.1.159...compiler_builtins-v0.1.160 ) - 2025-05-29
11
+
12
+ ### Other
13
+
14
+ - Change ` compiler-builtins ` to edition 2024
15
+ - Remove unneeded C symbols
16
+ - Reuse ` libm ` 's ` Caat ` and ` CastFrom ` in ` compiler-builtins `
17
+ - Reuse ` MinInt ` and ` Int ` from ` libm ` in ` compiler-builtins `
18
+ - Update ` CmpResult ` to use a pointer-sized return type
19
+ - Enable ` __powitf2 ` on MSVC
20
+ - Fix ` i256::MAX `
21
+ - Add a note saying why we use ` frintx ` rather than ` frintn `
22
+ - Typo in README.md
23
+ - Clean up unused files
24
+
10
25
## [ 0.1.159] ( https://github.com/rust-lang/compiler-builtins/compare/compiler_builtins-v0.1.158...compiler_builtins-v0.1.159 ) - 2025-05-12
11
26
12
27
### Other
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
authors = [
" Jorge Aparicio <[email protected] >" ]
3
3
name = " compiler_builtins"
4
- version = " 0.1.159 "
4
+ version = " 0.1.160 "
5
5
license = " MIT AND Apache-2.0 WITH LLVM-exception AND (MIT OR Apache-2.0)"
6
6
readme = " README.md"
7
7
repository = " https://github.com/rust-lang/compiler-builtins"
@@ -19,14 +19,11 @@ test = false
19
19
[dependencies ]
20
20
# For more information on this dependency see
21
21
# https://github.com/rust-lang/rust/tree/master/library/rustc-std-workspace-core
22
- core = { version = " 1.0.0 " , optional = true , package = " rustc-std-workspace-core " }
22
+ core = { path = " ../../core " , optional = true }
23
23
24
24
[build-dependencies ]
25
25
cc = { optional = true , version = " 1.0" }
26
26
27
- [dev-dependencies ]
28
- panic-handler = { path = " ../crates/panic-handler" }
29
-
30
27
[features ]
31
28
default = [" compiler-builtins" ]
32
29
Original file line number Diff line number Diff line change 1
1
//! This is needed for tests on targets that require a `#[panic_handler]` function
2
2
3
- #![ feature( no_core) ]
4
- #![ no_core]
5
-
6
- extern crate core;
3
+ #![ no_std]
7
4
8
5
#[ panic_handler]
9
- fn panic ( _: & core:: panic:: PanicInfo ) -> ! {
6
+ fn panic ( _: & core:: panic:: PanicInfo < ' _ > ) -> ! {
10
7
loop { }
11
8
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ doc = false
13
13
14
14
[dependencies ]
15
15
core = { path = " ../core" }
16
- compiler_builtins = " 0.1.0 "
16
+ compiler_builtins = { path = " ../compiler-builtins/compiler-builtins " }
17
17
18
18
[target .'cfg(target_os = "android")' .dependencies ]
19
19
libc = { version = " 0.2" , default-features = false }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ doc = false
15
15
alloc = { path = " ../alloc" }
16
16
core = { path = " ../core" }
17
17
unwind = { path = " ../unwind" }
18
- compiler_builtins = " 0.1.0 "
18
+ compiler_builtins = { path = " ../compiler-builtins/compiler-builtins " }
19
19
cfg-if = { version = " 1.0" , features = [' rustc-dep-of-std' ] }
20
20
21
21
[target .'cfg(not(all(windows, target_env = "msvc")))' .dependencies ]
You can’t perform that action at this time.
0 commit comments