add config to explicitely test rustc with autodiff/enzyme disabled
This commit is contained in:
parent
a1eceec00b
commit
b12dc20910
@ -49,6 +49,7 @@
|
||||
"ignore-eabi",
|
||||
"ignore-emscripten",
|
||||
"ignore-endian-big",
|
||||
"ignore-enzyme",
|
||||
"ignore-freebsd",
|
||||
"ignore-fuchsia",
|
||||
"ignore-gdb",
|
||||
|
@ -166,6 +166,12 @@ macro_rules! condition {
|
||||
message: "when the target vendor is Apple"
|
||||
}
|
||||
|
||||
condition! {
|
||||
name: "enzyme",
|
||||
condition: config.has_enzyme,
|
||||
message: "when rustc is built with LLVM Enzyme"
|
||||
}
|
||||
|
||||
// Technically the locally built compiler uses the "dev" channel rather than the "nightly"
|
||||
// channel, even though most people don't know or won't care about it. To avoid confusion, we
|
||||
// treat the "dev" channel as the "nightly" channel when processing the directive.
|
||||
|
Loading…
Reference in New Issue
Block a user