Compare commits
2 Commits
master
...
lift-limit
Author | SHA1 | Date |
---|---|---|
Sergey Pepyakin | 803085d5ab | |
Sergey Pepyakin | bef642e3fd |
|
@ -25,7 +25,9 @@ script:
|
||||||
# Make sure fuzz targets are not broken.
|
# Make sure fuzz targets are not broken.
|
||||||
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo check --tests --manifest-path=fuzz/Cargo.toml; fi
|
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo check --tests --manifest-path=fuzz/Cargo.toml; fi
|
||||||
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo check --benches --manifest-path=benches/Cargo.toml; fi
|
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo check --benches --manifest-path=benches/Cargo.toml; fi
|
||||||
- ./test.sh
|
# Run tests in the release mode since some of the tests from the spec
|
||||||
|
# perfrom reaaally bad in the debug mode.
|
||||||
|
- CARGOFLAGS=--release ./test.sh
|
||||||
- ./doc.sh
|
- ./doc.sh
|
||||||
after_success: |
|
after_success: |
|
||||||
# Build documentation and deploy it to github pages.
|
# Build documentation and deploy it to github pages.
|
||||||
|
|
|
@ -19,9 +19,9 @@ use memory_units::Pages;
|
||||||
use nan_preserving_float::{F32, F64};
|
use nan_preserving_float::{F32, F64};
|
||||||
|
|
||||||
/// Maximum number of entries in value stack.
|
/// Maximum number of entries in value stack.
|
||||||
pub const DEFAULT_VALUE_STACK_LIMIT: usize = 16384;
|
pub const DEFAULT_VALUE_STACK_LIMIT: usize = 4 * 1024 * 1024;
|
||||||
/// Maximum number of entries in frame stack.
|
/// Maximum number of entries in frame stack.
|
||||||
pub const DEFAULT_FRAME_STACK_LIMIT: usize = 16384;
|
pub const DEFAULT_FRAME_STACK_LIMIT: usize = 4 * 1024 * 1024;
|
||||||
|
|
||||||
/// Function interpreter.
|
/// Function interpreter.
|
||||||
pub struct Interpreter<'a, E: Externals + 'a> {
|
pub struct Interpreter<'a, E: Externals + 'a> {
|
||||||
|
|
Loading…
Reference in New Issue