mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-14 11:13:02 +00:00
Out-of-tree testing is broken with the most recent update from rust-lang/rust because it makes `compiler-builtins` depend on `core` by path, which isn't usually available. In order to enable testing outside of rust-lang/rust, add a new crate `builtins-shim` that uses the same source as `compiler-builtins` but drops the `core` dependency. This has replaced `compiler-builtins` as the workspace member and entrypoint for tests.
20 lines
384 B
TOML
20 lines
384 B
TOML
[package]
|
|
name = "builtins-test-intrinsics"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
publish = false
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
compiler_builtins = { path = "../builtins-shim", features = ["compiler-builtins"] }
|
|
panic-handler = { path = "../crates/panic-handler" }
|
|
|
|
[features]
|
|
c = ["compiler_builtins/c"]
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|