forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compiler: use
is_rustic_abi
in ty_utils
expands some conditionals to include different "rustic" ABIs, so that we actually handle passing args through all "rustic" ABIs
- Loading branch information
1 parent
e81fbe3
commit 8a68987
Showing
3 changed files
with
8 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
//@build-pass | ||
//@compile-flags: -Clink-dead-code=true --crate-type lib | ||
// We used to not handle all "rustic" ABIs in a (relatively) uniform way, | ||
// so we failed to fix up arguments for actually passing through the ABI... | ||
#![feature(rust_cold_cc)] | ||
pub extern "rust-cold" fn foo(_: [usize; 3]) {} |