Add link attribute for Enzyme's LLVMRust FFI by saethlin · Pull Request #136374 · rust-lang/rust (original) (raw)
Since #133429 landed, the compiler doesn't build with -Zcross-crate-inline-threshold=always
. I don't expect anyone else to test or fix issues with that goofy configuration, so I'm fixing it.
This PR adds a link attribute just like #118142 for all the new LLVMRust functions. They were actually added in #130060 but weren't used until just now.