Skip to content

Commit afe5c71

Browse files
committed
Address review comments
1 parent c193113 commit afe5c71

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/macros.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/// The "main macro" used for defining intrinsics.
44
///
55
/// The compiler-builtins library is super platform-specific with tons of crazy
6-
/// little tweaks for various platforms. As a result it *could* involve a lot fo
7-
/// #[cfg] and macro soup, but the intention is that this macro alleviates a lof
6+
/// little tweaks for various platforms. As a result it *could* involve a lot of
7+
/// #[cfg] and macro soup, but the intention is that this macro alleviates a lot
88
/// of that complexity. Ideally this macro has all the weird ABI things
99
/// platforms need and elsewhere in this library it just looks like normal Rust
1010
/// code.
@@ -220,10 +220,6 @@ macro_rules! intrinsics {
220220
pub extern "aapcs" fn $alias( $($argname: $ty),* ) -> $ret {
221221
super::$name($($argname),*)
222222
}
223-
224-
pub extern $abi fn $name( $($argname: $ty),* ) -> $ret {
225-
super::$name($($argname),*)
226-
}
227223
}
228224
}
229225

0 commit comments

Comments
 (0)