Trevor Gross 7222fa6f34 Work around out-of-tree testing with a shim crate
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.
2025-06-14 06:56:18 +00:00

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"