Closed ZuseZ4 closed 3 months ago
Yes, but that error should go away and the examples should compile if you pass the flag. I am not sure if it will be still needed once I rebased and the error message in this case at least is correct, so I didn't add it to the docs.
@ZuseZ4 so I should clean my Enzyme build and try again with the latest main
and it will work?
No, the rebase is still work in progress. And I am not 100% sure if it will directly be sufficient to remove this error, I'll decide afterwards if I can get rid of it, or if I need to add it to the docs. This is the WIP rebase PR: https://github.com/EnzymeAD/rust/pull/162 For now I'd recommend to just set the flag, that will be less work. Also keep in mind that some of the docs changed recently, mainly https://enzyme.mit.edu/rust/Debugging.html#supported-rustflags
Edit: To be clear the latest flags as per docs are only supported if you pull and rebuild, but that alone won't remove the error you've seen above.
Thanks for documenting this! Currently on my machine this fails with the following error message: