Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inline keyword and llvm section for exported inline bitcode #412

Closed
graydon opened this issue May 26, 2011 · 2 comments
Closed

inline keyword and llvm section for exported inline bitcode #412

graydon opened this issue May 26, 2011 · 2 comments
Assignees
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.

Comments

@graydon
Copy link
Contributor

graydon commented May 26, 2011

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.

@ghost ghost assigned nikomatsakis Mar 5, 2012
@brson
Copy link
Contributor

brson commented Mar 5, 2012

Assigning to niko

@nikomatsakis
Copy link
Contributor

dup of #1765

keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
kazcw pushed a commit to kazcw/rust that referenced this issue Oct 23, 2018
* documents arithmetic reduction semantics
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this issue Feb 21, 2024
Switch from actions-rs to preinstalled rustup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants