summary refs log tree commit diff
path: root/compiler/rustc_feature/src
AgeCommit message (Collapse)AuthorLines
2020-10-02Rollup merge of #76851 - fusion-engineering-forks:fixme-nonzero, r=petrochenkovYuki Okushi-17/+20
Fix 'FIXME' about using NonZeroU32 instead of u32. It was blocked by #58732 (const fn NonZeroU32::new), which is fixed now.
2020-10-01Add note about possible future improvementMara Bos-0/+2
Co-authored-by: David Tolnay <dtolnay@gmail.com>
2020-09-30Add support for cmse_nonsecure_entry attributeHugues de Valon-0/+5
This patch adds support for the LLVM cmse_nonsecure_entry attribute. This is a target-dependent attribute that only has sense for the thumbv8m Rust targets. You can find more information about this attribute here: https://developer.arm.com/documentation/ecm0359818/latest/ Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2020-09-27Remove `rustc_allow_const_fn_ptr`Dylan MacKenzie-1/+0
This was a hack to work around the lack of an escape hatch for the "min `const fn`" checks in const-stable functions. Now that we have co-opted `allow_internal_unstable` for this purpose, we no longer need the bespoke attribute.
2020-09-27Add a feature gate for basic function pointer use in `const fn`Dylan MacKenzie-0/+3
2020-09-25Use proper issue for `const_fn_floating_point_arithmetic`Dylan MacKenzie-1/+1
2020-09-25Add `const_fn_floating_point_arithmetic`Dylan MacKenzie-0/+3
2020-09-21Add cfg(target_has_atomic_equal_alignment).Mara Bos-0/+5
This is needed for Atomic::from_mut.
2020-09-20Remove MMX from RustMateusz MikuĊ‚a-1/+0
2020-09-17Fix 'FIXME' about using NonZeroU32 instead of u32.Mara Bos-17/+18
It was blocked by #58732 (const fn NonZeroU32::new), which is fixed now.
2020-09-14Stabilize doc_alias featureGuillaume Gomez-3/+2
2020-09-10fix tidy, small cleanupBastian Kauschke-1/+1
2020-09-10implement `const_evaluatable_checked` feature MVPBastian Kauschke-1/+5
2020-09-04Implementation of incompatible features errorAmjad Alsharafi-1/+6
If two features are defined as incompatible, using them together would result in an error
2020-09-01driver: replace `lazy_static` by `SyncLazy` from stdmarmeladema-8/+9
2020-09-01feature: replace `lazy_static` by `SyncLazy` from stdmarmeladema-11/+12
2020-08-30mv compiler to compiler/mark-0/+1750