Tracking issue for the define_in_every_cgu_used
feature
#141339
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-codegen
Area: Code generation
A-linkage
Area: linking into static, shared libraries and binaries
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team
Uh oh!
There was an error while loading. Please reload this page.
The feature gate for the issue is
#![feature(define_in_every_cgu_used)]
.#[unsafe(define_in_every_cgu_used)]
is an attribute that can be applied tostatic
item definitions. It causes codegen to generate a full definition for the item instead of just an external declaration in every codegen unit where the symbol is referenced. It can be used to implement several Objective-C ABIs and reduce the overhead of interoperating with Objective-C code.Original issue: #53929
Zulip:
Steps
Unresolved Questions
private
orlinkonce_odr
)?rustc_
attribute used only as an implementation detail for objc macros in the standard library without the goal of ever stabilizing the attribute?Implementation history
Experimental branch: master...jbatez:rust:define_in_every_cgu_used
The text was updated successfully, but these errors were encountered: