Skip to content

Commit 8b99f7a

Browse files
committed
fix macro export
1 parent 776ca70 commit 8b99f7a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

compiler-builtins/src/aarch64_linux.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,36 +285,43 @@ macro_rules! foreach_bytes {
285285
foreach_ordering!( $macro, 8, ${concat(__aarch64_, $name, "8")} );
286286
};
287287
}
288+
#[macro_export]
288289
macro_rules! foreach_cas {
289290
($macro:path) => {
290291
foreach_bytes!($macro, cas);
291292
};
292293
}
294+
#[macro_export]
293295
macro_rules! foreach_cas16 {
294296
($macro:path) => {
295297
foreach_ordering!($macro, __aarch64_cas16);
296298
};
297299
}
300+
#[macro_export]
298301
macro_rules! foreach_swp {
299302
($macro:path) => {
300303
foreach_bytes!($macro, swp);
301304
};
302305
}
306+
#[macro_export]
303307
macro_rules! foreach_ldadd {
304308
($macro:path) => {
305309
foreach_bytes!($macro, ldadd);
306310
};
307311
}
312+
#[macro_export]
308313
macro_rules! foreach_ldclr {
309314
($macro:path) => {
310315
foreach_bytes!($macro, ldclr);
311316
};
312317
}
318+
#[macro_export]
313319
macro_rules! foreach_ldeor {
314320
($macro:path) => {
315321
foreach_bytes!($macro, ldeor);
316322
};
317323
}
324+
#[macro_export]
318325
macro_rules! foreach_ldset {
319326
($macro:path) => {
320327
foreach_bytes!($macro, ldset);

0 commit comments

Comments
 (0)