mirror of
https://github.com/rust-lang/rust
synced 2024-11-02 14:59:06 +00:00
rustc: Fix bug in equal_abi that was preventing Rust intrinsics from working
This commit is contained in:
parent
2131f2bb6b
commit
9a1f0977a2
1 changed files with 6 additions and 0 deletions
|
@ -1228,6 +1228,12 @@ fn equal_abi(ast.native_abi a, ast.native_abi b) -> bool {
|
|||
case (_) { ret false; }
|
||||
}
|
||||
}
|
||||
case (ast.native_abi_rust_intrinsic) {
|
||||
alt (b) {
|
||||
case (ast.native_abi_rust_intrinsic) { ret true; }
|
||||
case (_) { ret false; }
|
||||
}
|
||||
}
|
||||
case (ast.native_abi_cdecl) {
|
||||
alt (b) {
|
||||
case (ast.native_abi_cdecl) { ret true; }
|
||||
|
|
Loading…
Reference in a new issue