Mara Bos
2140d80a9d
Add note about possible future improvement
...
Co-authored-by: David Tolnay <dtolnay@gmail.com>
2020-10-01 17:32:23 +02:00
Hugues de Valon
1aaafac6ff
Add support for cmse_nonsecure_entry attribute
...
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-30 15:48:59 +01:00
Dylan MacKenzie
3cbd17fcc6
Remove rustc_allow_const_fn_ptr
...
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-27 10:46:41 -07:00
Dylan MacKenzie
1ff143191c
Add a feature gate for basic function pointer use in const fn
2020-09-27 10:46:41 -07:00
Dylan MacKenzie
659028f48b
Use proper issue for const_fn_floating_point_arithmetic
2020-09-25 10:39:11 -07:00
Dylan MacKenzie
0d2521aaf7
Add const_fn_floating_point_arithmetic
2020-09-25 10:37:52 -07:00
Mara Bos
db74e1f1e3
Add cfg(target_has_atomic_equal_alignment).
...
This is needed for Atomic::from_mut.
2020-09-21 20:42:25 +02:00
Mateusz Mikuła
5de2c95e6e
Remove MMX from Rust
2020-09-20 15:13:11 +02:00
Mara Bos
84ef603c84
Fix 'FIXME' about using NonZeroU32 instead of u32.
...
It was blocked by #58732 (const fn NonZeroU32::new), which is fixed now.
2020-09-17 21:54:13 +02:00
Amjad Alsharafi
da700cba08
Stabilize move_ref_pattern
2020-09-15 14:23:05 +08:00
Guillaume Gomez
d069c7e928
Stabilize doc_alias feature
2020-09-14 11:03:47 +02:00
Bastian Kauschke
300b0acb85
fix tidy, small cleanup
2020-09-10 09:48:02 +02:00
Bastian Kauschke
8667f93040
implement const_evaluatable_checked
feature MVP
2020-09-10 08:52:02 +02:00
Amjad Alsharafi
8f2d9069a8
Implementation of incompatible features error
...
If two features are defined as incompatible, using them together would
result in an error
2020-09-04 22:17:28 +08:00
marmeladema
99c96c5bfe
driver: replace lazy_static
by SyncLazy
from std
2020-09-01 22:06:47 +01:00
marmeladema
73a7204983
feature: replace lazy_static
by SyncLazy
from std
2020-09-01 22:06:47 +01:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00