about summary refs log tree commit diff
path: root/compiler/rustc_error_codes
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2022-04-08 18:20:57 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2022-06-09 23:12:58 +0400
commita8ee1f3a4f6ee7f788ad53e28e2945e0cb7a1cce (patch)
tree5cfc8da3609aaa072a25b4829b193b4a6f2fc876 /compiler/rustc_error_codes
parentd7b8d77be5b4a091fe99c2f32b1334b931a2f4aa (diff)
downloadrust-a8ee1f3a4f6ee7f788ad53e28e2945e0cb7a1cce.tar.gz
rust-a8ee1f3a4f6ee7f788ad53e28e2945e0cb7a1cce.zip
Stabilize the `bundle` native library modifier
Diffstat (limited to 'compiler/rustc_error_codes')
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0060.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0060.md b/compiler/rustc_error_codes/src/error_codes/E0060.md
index e6906d72367..54b10c886cc 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0060.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0060.md
@@ -16,10 +16,10 @@ Using this declaration, it must be called with at least one argument, so
 simply calling `printf()` is invalid. But the following uses are allowed:
 
 ```
-# #![feature(static_nobundle)]
 # use std::os::raw::{c_char, c_int};
 # #[cfg_attr(all(windows, target_env = "msvc"),
-#            link(name = "legacy_stdio_definitions", kind = "static-nobundle"))]
+#            link(name = "legacy_stdio_definitions",
+#                 kind = "static", modifiers = "-bundle"))]
 # extern "C" { fn printf(_: *const c_char, ...) -> c_int; }
 # fn main() {
 unsafe {