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-eabi",
|
||||||
"ignore-emscripten",
|
"ignore-emscripten",
|
||||||
"ignore-endian-big",
|
"ignore-endian-big",
|
||||||
|
"ignore-enzyme",
|
||||||
"ignore-freebsd",
|
"ignore-freebsd",
|
||||||
"ignore-fuchsia",
|
"ignore-fuchsia",
|
||||||
"ignore-gdb",
|
"ignore-gdb",
|
||||||
|
@ -166,6 +166,12 @@ macro_rules! condition {
|
|||||||
message: "when the target vendor is Apple"
|
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"
|
// 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
|
// 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.
|
// treat the "dev" channel as the "nightly" channel when processing the directive.
|
||||||
|
Loading…
Reference in New Issue
Block a user