Skip to content

Commit

Permalink
Use crates.io version of NPF
Browse files Browse the repository at this point in the history
  • Loading branch information
eira-fransham committed Apr 24, 2018
1 parent a6a8b74 commit ef7620e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 18 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "tests/spec/testsuite"]
path = tests/spec/testsuite
url = https://github.com/WebAssembly/testsuite.git
[submodule "nan-preserving-float"]
path = nan-preserving-float
url = [email protected]:Vurich/nan-preserving-float.git
8 changes: 1 addition & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@ exclude = [ "/res/*", "/tests/*", "/fuzz/*" ]
parity-wasm = "0.27"
byteorder = "1.0"
memory_units = "0.3.0"
nan-preserving-float = { path = "./nan-preserving-float" }
nan-preserving-float = "0.1.0"

[dev-dependencies]
wabt = "^0.2.3"

[features]
# 32-bit platforms are not supported and not tested. Use this flag if you really want to use
# wasmi on these platforms.
# See https://github.com/pepyakin/wasmi/issues/43
opt-in-32bit = []
1 change: 0 additions & 1 deletion nan-preserving-float
Submodule nan-preserving-float deleted from c42e2b
7 changes: 0 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,6 @@ extern crate byteorder;
extern crate memory_units as memory_units_crate;
extern crate nan_preserving_float;

#[cfg(all(not(feature = "opt-in-32bit"), target_pointer_width = "32"))]
compile_error! {
"32-bit targets are not supported at the moment.
You can use 'opt-in-32bit' feature.
See https://github.com/pepyakin/wasmi/issues/43"
}

use std::fmt;
use std::error;
use std::collections::HashMap;
Expand Down

0 comments on commit ef7620e

Please sign in to comment.