From 3475be336f4f2eafaf2ef01be156425a5b26b563 Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Fri, 10 Apr 2020 17:24:36 +0100 Subject: [PATCH] Update stdarch submodule to use llvm_asm! instead of asm! --- src/libcore/macros/mod.rs | 4 ++++ src/stdarch | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libcore/macros/mod.rs b/src/libcore/macros/mod.rs index 9c885ef99a9..79f2bdf752d 100644 --- a/src/libcore/macros/mod.rs +++ b/src/libcore/macros/mod.rs @@ -1316,6 +1316,10 @@ pub(crate) mod builtin { issue = "70173", reason = "inline assembly is not stable enough for use and is subject to change" )] + #[rustc_deprecated( + since = "1.44.0", + reason = "the syntax of asm! will change soon, use llvm_asm! to avoid breakage" + )] #[rustc_builtin_macro] #[macro_export] macro_rules! asm { diff --git a/src/stdarch b/src/stdarch index 1a577bd78e8..b00ecbeb268 160000 --- a/src/stdarch +++ b/src/stdarch @@ -1 +1 @@ -Subproject commit 1a577bd78e84e357e29c5336ff8beb432873046b +Subproject commit b00ecbeb268ee97cef9fa9b2375e6f6cf0864db2