Skip to content

Commit 8e893ed

Browse files
Taowyooraoulstrackx
authored andcommitted
Revert "Merge pull request #708 from fortanix/arash/compilation-issue-new-toolchain"
This reverts commit 8a09c7e, reversing changes made to 34f3cb8.
1 parent 6ddb173 commit 8e893ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • intel-sgx/fortanix-sgx-abi/src

intel-sgx/fortanix-sgx-abi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ invoke_with_abi_spec!(types);
881881
// function declarations inside all `impl Usercalls` blocks.
882882
macro_rules! define_invoke_with_usercalls {
883883
// collect all usercall function declarations in a list
884-
(@ [$($accumulated:tt)*] $(#[$meta1:meta])* impl Usercalls { $($(#[$meta2:meta])* pub fn $f:ident($($n:ident: $t:ty),*) $(-> $r:tt)* { unimplemented!() } )* } $($remainder:tt)* ) =>
884+
(@ [$($accumulated:tt)*] $(#[$meta1:meta])* impl Usercalls { $($(#[$meta2:meta])* pub fn $f:ident($($n:ident: $t:ty),*) $(-> $r:ty)* { unimplemented!() } )* } $($remainder:tt)* ) =>
885885
{ define_invoke_with_usercalls!(@ [$($accumulated)* $(fn $f($($n: $t),*) $(-> $r)*;)*] $($remainder)*); };
886886
// visit modules
887887
(@ $accumulated:tt $(#[$meta:meta])* pub mod $modname:ident { $($contents:tt)* } $($remainder:tt)*) =>

0 commit comments

Comments
 (0)