about summary refs log tree commit diff
path: root/example/std_example.rs
diff options
context:
space:
mode:
authorantoyo <antoyo@users.noreply.github.com>2025-04-18 12:43:27 -0400
committerGitHub <noreply@github.com>2025-04-18 12:43:27 -0400
commitdb1a31c243a649e1fe20f5466ba181da5be35c14 (patch)
tree604b97732a54cd6fc1947fd3e691cf964e31f3b7 /example/std_example.rs
parent499de70f3a8f068aa2feace66a198dda8bf5dc8d (diff)
parent52b06872fe92811e5ae5d87bbb3508924525723b (diff)
downloadrust-db1a31c243a649e1fe20f5466ba181da5be35c14.tar.gz
rust-db1a31c243a649e1fe20f5466ba181da5be35c14.zip
Merge pull request #650 from rust-lang/sync_from_rust_2025_04_17
Sync from rust 2025/04/17
Diffstat (limited to 'example/std_example.rs')
-rw-r--r--example/std_example.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/std_example.rs b/example/std_example.rs
index 9e43b4635f0..5fa1e0afb06 100644
--- a/example/std_example.rs
+++ b/example/std_example.rs
@@ -7,7 +7,7 @@ use std::arch::x86_64::*;
 use std::io::Write;
 use std::ops::Coroutine;
 
-extern {
+extern "C" {
     pub fn printf(format: *const i8, ...) -> i32;
 }