about summary refs log tree commit diff
path: root/src/libcoretest/num
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2016-09-25 20:47:00 +0000
committerBrian Anderson <banderson@mozilla.com>2016-09-30 14:02:57 -0700
commitd997a6291f42c9315f9ddd8d4044e8910ced8745 (patch)
tree56bcd87c44834f55a189b0aafae3823f76c79656 /src/libcoretest/num
parent834bbab11b5b9535cbbec8b02149157fff764bf1 (diff)
downloadrust-d997a6291f42c9315f9ddd8d4044e8910ced8745.tar.gz
rust-d997a6291f42c9315f9ddd8d4044e8910ced8745.zip
Call emcc with ERROR_ON_UNDEFINED_SYMBOLS
Diffstat (limited to 'src/libcoretest/num')
-rw-r--r--src/libcoretest/num/flt2dec/estimator.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libcoretest/num/flt2dec/estimator.rs b/src/libcoretest/num/flt2dec/estimator.rs
index e20881fd329..0bca616ea9a 100644
--- a/src/libcoretest/num/flt2dec/estimator.rs
+++ b/src/libcoretest/num/flt2dec/estimator.rs
@@ -8,11 +8,14 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// FIXME https://github.com/kripken/emscripten/issues/4563
+// NB we have to actually not compile this test to avoid
+// an undefined symbol error
+#![cfg(not(target_os = "emscripten"))]
+
 use core::num::flt2dec::estimator::*;
 
 #[test]
-// FIXME https://github.com/kripken/emscripten/issues/4563
-#[cfg_attr(target_os = "emscripten", ignore)]
 fn test_estimate_scaling_factor() {
     macro_rules! assert_almost_eq {
         ($actual:expr, $expected:expr) => ({