Skip to content

Commit 0bd1b5d

Browse files
authored
update readme (#156)
1 parent a55f6f1 commit 0bd1b5d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ rustup toolchain link enzyme build/host/stage1
2323
rustup 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 [email protected]: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
3338
Bugs are pretty much expected at this point of the development process.

0 commit comments

Comments
 (0)