-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Replace some native module syntax with attributes #547
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
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Comments
lht
added a commit
to lht/rust
that referenced
this issue
Nov 16, 2011
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue rust-lang#547
brson
pushed a commit
that referenced
this issue
Nov 16, 2011
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
@lht - is this finished? |
Yes, all done. |
kazcw
pushed a commit
to kazcw/rust
that referenced
this issue
Oct 23, 2018
* test table lookup intrinsics with negative indices * provide table lookup intrinsics only on little endian targets
pdietl
pushed a commit
to pdietl/rust
that referenced
this issue
Apr 23, 2020
Add some terms to the glossary.
ZuseZ4
pushed a commit
to EnzymeAD/rust
that referenced
this issue
Mar 7, 2023
celinval
pushed a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
* Re-enable artifacts via dashboard update * Proper parsing, main and docs * Copy fixup
tgross35
pushed a commit
to tgross35/rust
that referenced
this issue
Jun 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Native mod declarations have some optional syntax (abi, native name) which can be turned into attributes.
The text was updated successfully, but these errors were encountered: