about summary refs log tree commit diff
path: root/compiler/rustc
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-09-15 15:31:56 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-09-15 15:31:56 +0000
commit1991779bd4a0a8d8905b6644b06aa317dde353ac (patch)
treef0c611d48221506ea3eb0dc288a00e21287a7b7d /compiler/rustc
parentd1ed52b1f5b78bf66127b670af813b84d57aeedb (diff)
downloadrust-1991779bd4a0a8d8905b6644b06aa317dde353ac.tar.gz
rust-1991779bd4a0a8d8905b6644b06aa317dde353ac.zip
Make llvm_enzyme a regular cargo feature
This makes it clearer that it is set by the build system rather than by
the rustc that compiles the current rustc. It also avoids bootstrap
needing to pass --check-cfg llvm_enzyme to rustc.
Diffstat (limited to 'compiler/rustc')
-rw-r--r--compiler/rustc/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc/Cargo.toml b/compiler/rustc/Cargo.toml
index e3214d1ab9c..9ef8fa75062 100644
--- a/compiler/rustc/Cargo.toml
+++ b/compiler/rustc/Cargo.toml
@@ -30,6 +30,7 @@ features = ['unprefixed_malloc_on_supported_platforms']
 check_only = ['rustc_driver_impl/check_only']
 jemalloc = ['dep:tikv-jemalloc-sys']
 llvm = ['rustc_driver_impl/llvm']
+llvm_enzyme = ['rustc_driver_impl/llvm_enzyme']
 max_level_info = ['rustc_driver_impl/max_level_info']
 rustc_randomized_layouts = ['rustc_driver_impl/rustc_randomized_layouts']
 # tidy-alphabetical-end