Skip to content

Commit 73c6e7f

Browse files
committed
remove print statment and correct target name
1 parent 3b49a07 commit 73c6e7f

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

Diff for: crates/intrinsic-test/src/main.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@ path = "{intrinsic}/main.rs""#,
417417
}
418418

419419
command.env("RUSTFLAGS", rust_flags);
420-
println!("{:?}", command);
421420
let output = command.output();
422421

423422
if let Ok(output) = output {
@@ -583,7 +582,7 @@ fn compare_outputs(
583582
))
584583
.output();
585584

586-
let rust = if target != "aarch64_be-none-linux-gnu" {
585+
let rust = if target != "aarch64_be-unknown-linux-gnu" {
587586
Command::new("sh")
588587
.current_dir("rust_programs")
589588
.arg("-c")

Diff for: crates/stdarch-gen-arm/src/intrinsic.rs

+6-7
Original file line numberDiff line numberDiff line change
@@ -1721,6 +1721,12 @@ fn create_tokens(intrinsic: &Intrinsic, endianness: Endianness, tokens: &mut Tok
17211721
Endianness::NA => {}
17221722
};
17231723

1724+
let expressions = match endianness {
1725+
Endianness::Little | Endianness::NA => &intrinsic.compose,
1726+
Endianness::Big => &intrinsic.big_endian_compose,
1727+
};
1728+
1729+
17241730
/* If we have manually defined attributes on the block of yaml with
17251731
* 'attr:' we want to add them */
17261732
if let Some(attr) = &intrinsic.attr {
@@ -1767,13 +1773,6 @@ fn create_tokens(intrinsic: &Intrinsic, endianness: Endianness, tokens: &mut Tok
17671773
}
17681774
tokens.append_all(quote! { #signature });
17691775

1770-
let expressions = match endianness {
1771-
Endianness::Little | Endianness::NA => &intrinsic.compose,
1772-
Endianness::Big => &intrinsic.big_endian_compose,
1773-
};
1774-
1775-
tokens.append_all(quote! { #signature });
1776-
17771776
// If the intrinsic function is explicitly unsafe, we populate `body_default_safety` with
17781777
// the implementation. No explicit unsafe blocks are required.
17791778
//

0 commit comments

Comments
 (0)