about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2021-07-29 16:51:32 +0200
committerAmanieu d'Antras <amanieu@gmail.com>2021-08-15 13:14:32 +0100
commit4dd933cdc244e9aed766553909a5ebf7572baec1 (patch)
tree6ca30ba40c2cf1cf52d4d4c375c5aafd73a25691
parentdfe5fd0902b55546dc38a15f01effbb248e8b222 (diff)
downloadrust-4dd933cdc244e9aed766553909a5ebf7572baec1.tar.gz
rust-4dd933cdc244e9aed766553909a5ebf7572baec1.zip
Deprecate llvm_asm!
-rw-r--r--library/core/src/macros/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs
index 87fdbf2dca3..476f37699ee 100644
--- a/library/core/src/macros/mod.rs
+++ b/library/core/src/macros/mod.rs
@@ -1347,6 +1347,10 @@ pub(crate) mod builtin {
         issue = "70173",
         reason = "prefer using the new asm! syntax instead"
     )]
+    #[rustc_deprecated(
+        since = "1.56",
+        reason = "will be removed from the compiler, use asm! instead"
+    )]
     #[rustc_builtin_macro]
     #[macro_export]
     macro_rules! llvm_asm {