remove print statment and correct target name
This commit is contained in:
parent
bec322f990
commit
2ab46242f0
2 changed files with 7 additions and 9 deletions
|
|
@ -417,7 +417,6 @@ path = "{intrinsic}/main.rs""#,
|
|||
}
|
||||
|
||||
command.env("RUSTFLAGS", rust_flags);
|
||||
println!("{:?}", command);
|
||||
let output = command.output();
|
||||
|
||||
if let Ok(output) = output {
|
||||
|
|
@ -583,7 +582,7 @@ fn compare_outputs(
|
|||
))
|
||||
.output();
|
||||
|
||||
let rust = if target != "aarch64_be-none-linux-gnu" {
|
||||
let rust = if target != "aarch64_be-unknown-linux-gnu" {
|
||||
Command::new("sh")
|
||||
.current_dir("rust_programs")
|
||||
.arg("-c")
|
||||
|
|
|
|||
|
|
@ -1721,6 +1721,12 @@ fn create_tokens(intrinsic: &Intrinsic, endianness: Endianness, tokens: &mut Tok
|
|||
Endianness::NA => {}
|
||||
};
|
||||
|
||||
let expressions = match endianness {
|
||||
Endianness::Little | Endianness::NA => &intrinsic.compose,
|
||||
Endianness::Big => &intrinsic.big_endian_compose,
|
||||
};
|
||||
|
||||
|
||||
/* If we have manually defined attributes on the block of yaml with
|
||||
* 'attr:' we want to add them */
|
||||
if let Some(attr) = &intrinsic.attr {
|
||||
|
|
@ -1767,13 +1773,6 @@ fn create_tokens(intrinsic: &Intrinsic, endianness: Endianness, tokens: &mut Tok
|
|||
}
|
||||
tokens.append_all(quote! { #signature });
|
||||
|
||||
let expressions = match endianness {
|
||||
Endianness::Little | Endianness::NA => &intrinsic.compose,
|
||||
Endianness::Big => &intrinsic.big_endian_compose,
|
||||
};
|
||||
|
||||
tokens.append_all(quote! { #signature });
|
||||
|
||||
// If the intrinsic function is explicitly unsafe, we populate `body_default_safety` with
|
||||
// the implementation. No explicit unsafe blocks are required.
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue