about summary refs log tree commit diff
path: root/src/libstd/sys/wasm/cmath.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/wasm/cmath.rs')
-rw-r--r--src/libstd/sys/wasm/cmath.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/wasm/cmath.rs b/src/libstd/sys/wasm/cmath.rs
index fa7783122c2..304cf906b2a 100644
--- a/src/libstd/sys/wasm/cmath.rs
+++ b/src/libstd/sys/wasm/cmath.rs
@@ -1,5 +1,5 @@
 // These symbols are all defined in `compiler-builtins`
-extern {
+extern "C" {
     pub fn acos(n: f64) -> f64;
     pub fn acosf(n: f32) -> f32;
     pub fn asin(n: f64) -> f64;