nallocx is a [[pure]] function in the GCC sense, and should have the LLVM ReadOnly attribute. I've been looking for a way to apply LLVM attributes to functions in Rust without much luck (another interesting one is ReadNone, GCC's const attribute).
Is there a way to do this?
nallocxis a[[pure]]function in the GCC sense, and should have the LLVM ReadOnly attribute. I've been looking for a way to apply LLVM attributes to functions in Rust without much luck (another interesting one isReadNone, GCC'sconstattribute).Is there a way to do this?