We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a5561b commit 103a68bCopy full SHA for 103a68b
src/librustc/middle/trans/adt.rs
@@ -574,7 +574,7 @@ fn padding(size: u64) -> ValueRef {
574
}
575
576
// XXX this utility routine should be somewhere more general
577
-#[always_inline]
+#[inline(always)]
578
fn roundup(x: u64, a: u64) -> u64 { ((x + (a - 1)) / a) * a }
579
580
/// Get the discriminant of a constant value. (Not currently used.)
src/rt/rust_globals.h
@@ -20,7 +20,7 @@
20
#endif
21
22
#if defined(__GNUC__)
23
-#define ALWAYS_INLINE __attribute((always_inline)) INLINE
+#define ALWAYS_INLINE __attribute__((always_inline)) INLINE
24
#elif defined(_MSC_VER)
25
#define ALWAYS_INLINE __forceinline
26
#else
0 commit comments