Interpret native mods with ABI rust-intrinsic as builtins
This commit is contained in:
parent
52d618a99a
commit
ca71e01bce
1 changed files with 1 additions and 4 deletions
|
|
@ -237,10 +237,7 @@ fn native_abi(attrs: [ast::attribute]) -> either<str, ast::native_abi> {
|
|||
option::none {
|
||||
either::right(ast::native_abi_cdecl)
|
||||
}
|
||||
option::some("rust-intrinsic") {
|
||||
either::right(ast::native_abi_rust_intrinsic)
|
||||
}
|
||||
option::some("rust-builtin") {
|
||||
option::some("rust-intrinsic") | option::some("rust-builtin") {
|
||||
either::right(ast::native_abi_rust_builtin)
|
||||
}
|
||||
option::some("cdecl") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue