SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 65 Rust

Rollup merge of #154754 - Kobzol:build-manifest-enzyme, r=Mark-Simulacrum,ZuseZ4

Add Enzyme to build-manifest and rustup

This PR adds the autodiff component (Enzyme) to build-manifest, and thus also to (nightly) Rustup.

It is marked as nightly-only and as -preview.

After this PR lands, unless I messed something up, starting with the following nightly, the following should work (on supported targets):

```bash
rustup +nightly component add enzyme
RUSTFLAGS="-Zautodiff=Enable" cargo +nightly build
```

CC @ZuseZ4

r? @Mark-Simulacrum

closes: https://github.com/rust-lang/rust/issues/145899
J
Jonathan Brouwer committed
f244bd79d68abb59ffda57d5940f88058f9dbd66
Committed by GitHub <noreply@github.com> on 5/12/2026, 5:03:54 AM