inline keyword and llvm section for exported inline bitcode #412
Labels
A-frontend
Area: frontend (errors, parsing and HIR)
A-linkage
Area: linking into static, shared libraries and binaries
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Add an inline keyword for items and insert their definitions as llvm bitcode in a section of the output file -- if this is even possible; otherwise I guess pickled ASTs? -- such that the user of a crate can pull copies of the definition in entirely, not just reference via extern linkage.
Naturally this will make upgrading the inlined code impossible, but that's a tradeoff we should extend the option of to users.
The text was updated successfully, but these errors were encountered: