-
Notifications
You must be signed in to change notification settings - Fork 563
Open
Labels
A-attributesArea: AttributesArea: Attributes
Description
Should there be more documentation explaining what the no_builtins attribute does?
I gather it disables LLVM builtin functions, but it's not clear to me what it uses instead. Does it use libc? Does it fail to compile?
I suspect it's not worth documenting the list of builtins, but maybe some examples would be helpful. Perhaps along with some indication why it would be used?
When enabled, it also prevents the crate from participating in LTO.
Some of this seems like implementation details, so I'm not sure what should be documented. I think optimization or backend codegen details should probably be kept in The rustc Book, so maybe it could be documented there, and just have a link to it from the reference?
jonas-schievink, MaxNanasy, 9oelM, reynoldsbd, nazar-pc and 1 more
Metadata
Metadata
Assignees
Labels
A-attributesArea: AttributesArea: Attributes