Skip to content

Commit 828bc13

Browse files
bors[bot]Jethro Beekman
and
Jethro Beekman
committed
Merge #137
137: Fix warning that appeared in latest nightly r=jseyfried a=jethrogb See rust-lang/rust#60450 Co-authored-by: Jethro Beekman <[email protected]>
2 parents bd38fc1 + 90275de commit 828bc13

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: enclave-runner/src/tcs.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ pub(crate) fn coenter<T: Tcs>(
8080
debug_buf: Option<&RefCell<DebugBuffer>>,
8181
) -> ThreadResult<T> {
8282
let sgx_result: u32;
83-
let mut _tmp: (u64, u64);
83+
let mut _tmp1: u64;
84+
let mut _tmp2: u64;
8485

8586
unsafe {
8687
let mut uninit_debug_buf: DebugBuffer;
@@ -96,7 +97,7 @@ pub(crate) fn coenter<T: Tcs>(
9697
lea 1f(%rip),%rcx
9798
1:
9899
enclu
99-
" : "={eax}"(sgx_result), "={rbx}"(_tmp.0), "={r10}"(_tmp.1),
100+
" : "={eax}"(sgx_result), "={rbx}"(_tmp1), "={r10}"(_tmp2),
100101
"={rdi}"(p1), "={rsi}"(p2), "={rdx}"(p3), "={r8}"(p4), "={r9}"(p5)
101102
: "{eax}" (2), "{rbx}"(tcs.address()), "{r10}"(debug_buf),
102103
"{rdi}"(p1), "{rsi}"(p2), "{rdx}"(p3), "{r8}"(p4), "{r9}"(p5)

0 commit comments

Comments
 (0)