File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,16 @@ rustup toolchain link enzyme build/host/stage1
2323rustup toolchain install nightly # enables -Z unstable-options
2424```
2525
26- You can then run an examples from our [ docs] ( https://enzyme.mit.edu/index.fcgi/rust/usage/usage.html ) using
26+ You can then run examples from our [ docs] ( https://enzyme.mit.edu/index.fcgi/rust/usage/usage.html ) :
2727
2828``` bash
29- cargo +enzyme run --release
29+ cd ..
30+ git clone git@github.com:EnzymeAD/rustbook.git
31+ cd rustbook/samples
32+ cargo +enzyme test reverse
3033```
34+ If you want to use Autodiff in your own projects, please always enable ` lto="fat" ` in your Cargo.toml
35+ and use ` cargo +enzyme ` instead of ` cargo ` or ` cargo +nightly ` .
3136
3237## Bug reporting
3338Bugs are pretty much expected at this point of the development process.
You can’t perform that action at this time.
0 commit comments