Update the crates.io publishing scripts (#580)
* Fix fuzz target compilation. * Bump version to 0.7.0 * Temporarily disable fuzz tests Temporarily disable fuzz tests until https://github.com/bytecodealliance/cranelift/issues/1216 is resolved. * Fix publish-all.sh to not modify the witx crate. * Remove the "publish = false" attribute from Lightbeam. * Add a README.md for wasmtime-interface-types. * Remove the "rust" category. This fixes the following warning: warning: the following are not valid category slugs and were ignored: rust. Please see https://crates.io/category_slugs for the list of all category slugs. * Mark wasmtime-cli as "publish = false". * Sort the publishing rules in topological order. Also, publish nightly-only crates with cargo +nightly.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-cli"
|
name = "wasmtime-cli"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "Command-line interface for Wasmtime"
|
description = "Command-line interface for Wasmtime"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
@@ -11,6 +11,7 @@ repository = "https://github.com/bytecodealliance/wasmtime"
|
|||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
default-run = "wasmtime"
|
default-run = "wasmtime"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Enable all supported architectures by default.
|
# Enable all supported architectures by default.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime"
|
name = "wasmtime"
|
||||||
version = "0.1.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "High-level API to expose the Wasmtime runtime"
|
description = "High-level API to expose the Wasmtime runtime"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-debug"
|
name = "wasmtime-debug"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "Debug utils for WebAsssembly code in Cranelift"
|
description = "Debug utils for WebAsssembly code in Cranelift"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-environ"
|
name = "wasmtime-environ"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "Standalone environment support for WebAsssembly code in Cranelift"
|
description = "Standalone environment support for WebAsssembly code in Cranelift"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
@@ -15,6 +15,7 @@ edition = "2018"
|
|||||||
cranelift-codegen = { version = "0.50.0", features = ["enable-serde"] }
|
cranelift-codegen = { version = "0.50.0", features = ["enable-serde"] }
|
||||||
cranelift-entity = { version = "0.50.0", features = ["enable-serde"] }
|
cranelift-entity = { version = "0.50.0", features = ["enable-serde"] }
|
||||||
cranelift-wasm = { version = "0.50.0", features = ["enable-serde"] }
|
cranelift-wasm = { version = "0.50.0", features = ["enable-serde"] }
|
||||||
|
wasmparser = "0.39.2"
|
||||||
lightbeam = { path = "../lightbeam", optional = true }
|
lightbeam = { path = "../lightbeam", optional = true }
|
||||||
indexmap = "1.0.2"
|
indexmap = "1.0.2"
|
||||||
rayon = "1.2"
|
rayon = "1.2"
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ use crate::cranelift::RelocSink;
|
|||||||
use cranelift_codegen::{ir, isa};
|
use cranelift_codegen::{ir, isa};
|
||||||
use cranelift_entity::{PrimaryMap, SecondaryMap};
|
use cranelift_entity::{PrimaryMap, SecondaryMap};
|
||||||
use cranelift_wasm::{DefinedFuncIndex, ModuleTranslationState};
|
use cranelift_wasm::{DefinedFuncIndex, ModuleTranslationState};
|
||||||
use lightbeam;
|
|
||||||
|
|
||||||
/// A compiler that compiles a WebAssembly module with Lightbeam, directly translating the Wasm file.
|
/// A compiler that compiles a WebAssembly module with Lightbeam, directly translating the Wasm file.
|
||||||
pub struct Lightbeam;
|
pub struct Lightbeam;
|
||||||
@@ -53,7 +52,7 @@ impl crate::compilation::Compiler for Lightbeam {
|
|||||||
&mut codegen_session,
|
&mut codegen_session,
|
||||||
&mut reloc_sink,
|
&mut reloc_sink,
|
||||||
i.as_u32(),
|
i.as_u32(),
|
||||||
&lightbeam::wasmparser::FunctionBody::new(0, function_body.data),
|
&wasmparser::FunctionBody::new(0, function_body.data),
|
||||||
)
|
)
|
||||||
.expect("Failed to translate function. TODO: Stop this from panicking");
|
.expect("Failed to translate function. TODO: Stop this from panicking");
|
||||||
relocations.push(reloc_sink.func_relocs);
|
relocations.push(reloc_sink.func_relocs);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-interface-types"
|
name = "wasmtime-interface-types"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "Support for wasm interface types with wasmtime"
|
description = "Support for wasm interface types with wasmtime"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
4
crates/interface-types/README.md
Normal file
4
crates/interface-types/README.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
This crate implements a prototype of the wasm [interface types] proposal
|
||||||
|
for Wasmtime.
|
||||||
|
|
||||||
|
[interface types]: https://github.com/WebAssembly/interface-types
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-jit"
|
name = "wasmtime-jit"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "JIT-style execution for WebAsssembly code in Cranelift"
|
description = "JIT-style execution for WebAsssembly code in Cranelift"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lightbeam"
|
name = "lightbeam"
|
||||||
version = "0.0.0"
|
version = "0.7.0"
|
||||||
authors = ["The Lightbeam Project Developers"]
|
authors = ["The Lightbeam Project Developers"]
|
||||||
description = "An optimising one-pass streaming compiler for WebAssembly"
|
description = "An optimising one-pass streaming compiler for WebAssembly"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
@@ -9,7 +9,6 @@ readme = "README.md"
|
|||||||
categories = ["wasm"]
|
categories = ["wasm"]
|
||||||
keywords = ["webassembly", "wasm", "compile", "compiler", "jit"]
|
keywords = ["webassembly", "wasm", "compile", "compiler", "jit"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
publish = false
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
smallvec = "1.0.0"
|
smallvec = "1.0.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-py"
|
name = "wasmtime-py"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "Python extension for Wasmtime"
|
description = "Python extension for Wasmtime"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-rust"
|
name = "wasmtime-rust"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
||||||
description = "Rust extension for Wasmtime"
|
description = "Rust extension for Wasmtime"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
categories = ["wasm", "rust"]
|
categories = ["wasm"]
|
||||||
keywords = ["webassembly", "wasm"]
|
keywords = ["webassembly", "wasm"]
|
||||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-rust-macro"
|
name = "wasmtime-rust-macro"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
||||||
description = "Macro support crate for wasmtime-rust"
|
description = "Macro support crate for wasmtime-rust"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-obj"
|
name = "wasmtime-obj"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "Native object file output for WebAsssembly code in Wasmtime"
|
description = "Native object file output for WebAsssembly code in Wasmtime"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-runtime"
|
name = "wasmtime-runtime"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "Runtime library support for Wasmtime"
|
description = "Runtime library support for Wasmtime"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "test-programs"
|
name = "test-programs"
|
||||||
version = "0.0.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasi-tests"
|
name = "wasi-tests"
|
||||||
version = "0.0.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-wasi-c"
|
name = "wasmtime-wasi-c"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Cranelift Project Developers"]
|
authors = ["The Cranelift Project Developers"]
|
||||||
description = "WASI API support for Wasmtime"
|
description = "WASI API support for Wasmtime"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasi-common"
|
name = "wasi-common"
|
||||||
version = "0.5.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "WASI implementation in Rust"
|
description = "WASI implementation in Rust"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasi-common-cbindgen"
|
name = "wasi-common-cbindgen"
|
||||||
version = "0.5.0"
|
version = "0.7.0"
|
||||||
authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
|
authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
|
||||||
description = "Interface generator utilities used by wasi-common"
|
description = "Interface generator utilities used by wasi-common"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wig"
|
name = "wig"
|
||||||
version = "0.1.0"
|
version = "0.7.0"
|
||||||
authors = ["Dan Gohman <sunfish@mozilla.com>"]
|
authors = ["Dan Gohman <sunfish@mozilla.com>"]
|
||||||
description = "WebAssembly Interface Generator"
|
description = "WebAssembly Interface Generator"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "winx"
|
name = "winx"
|
||||||
version = "0.5.0"
|
version = "0.7.0"
|
||||||
authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
|
authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
|
||||||
description = "Windows API helper library"
|
description = "Windows API helper library"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
@@ -12,7 +12,7 @@ bitflags = "1.0"
|
|||||||
cvt = "0.1"
|
cvt = "0.1"
|
||||||
|
|
||||||
[dependencies.winapi]
|
[dependencies.winapi]
|
||||||
version = "0.3"
|
version = "^0.3"
|
||||||
features = [
|
features = [
|
||||||
"std",
|
"std",
|
||||||
"errhandlingapi",
|
"errhandlingapi",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-wasi"
|
name = "wasmtime-wasi"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Cranelift Project Developers"]
|
authors = ["The Cranelift Project Developers"]
|
||||||
description = "WASI API support for Wasmtime"
|
description = "WASI API support for Wasmtime"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-wast"
|
name = "wasmtime-wast"
|
||||||
version = "0.2.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
description = "wast testing support for wasmtime"
|
description = "wast testing support for wasmtime"
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmtime-fuzz"
|
name = "wasmtime-fuzz"
|
||||||
version = "0.0.0"
|
version = "0.7.0"
|
||||||
authors = ["The Wasmtime Project Developers"]
|
authors = ["The Wasmtime Project Developers"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
publish = false
|
publish = false
|
||||||
@@ -11,9 +11,9 @@ cargo-fuzz = true
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
wasmtime-environ = { path = "../crates/environ" }
|
wasmtime-environ = { path = "../crates/environ" }
|
||||||
wasmtime-jit = { path = "../crates/jit" }
|
wasmtime-jit = { path = "../crates/jit" }
|
||||||
cranelift-codegen = { version = "0.49", features = ["enable-serde"] }
|
cranelift-codegen = "0.50"
|
||||||
cranelift-wasm = { version = "0.49", features = ["enable-serde"] }
|
cranelift-wasm = "0.50"
|
||||||
cranelift-native = "0.49"
|
cranelift-native = "0.50"
|
||||||
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" }
|
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" }
|
||||||
wasmparser = { version = "0.39.2", default-features = false, features = ["core"] }
|
wasmparser = { version = "0.39.2", default-features = false, features = ["core"] }
|
||||||
binaryen = "0.8.1"
|
binaryen = "0.8.1"
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
# This is a trivial wrapper around cargo which just forwards its arguments
|
|
||||||
# to cargo, and then sleeps for a few seconds, to allow for exteral services
|
|
||||||
# to update their indices.
|
|
||||||
# https://internals.rust-lang.org/t/changes-to-how-crates-io-handles-index-updates/9608
|
|
||||||
|
|
||||||
cargo "$@"
|
|
||||||
sleep 10
|
|
||||||
@@ -9,11 +9,13 @@ topdir=$(dirname "$0")/..
|
|||||||
cd "$topdir"
|
cd "$topdir"
|
||||||
|
|
||||||
# All the wasmtime-* crates have the same version number
|
# All the wasmtime-* crates have the same version number
|
||||||
version="0.2.0"
|
version="0.7.0"
|
||||||
|
|
||||||
# Update the version numbers of the crates to $version.
|
# Update the version numbers of the crates to $version.
|
||||||
echo "Updating crate versions to $version"
|
echo "Updating crate versions to $version"
|
||||||
find -name Cargo.toml -exec sed -i.bk -e "s/^version = .*/version = \"$version\"/" {} \;
|
find -name Cargo.toml \
|
||||||
|
-not -path ./crates/wasi-common/WASI/tools/witx/Cargo.toml \
|
||||||
|
-exec sed -i.bk -e "s/^version = \"[[:digit:]].*/version = \"$version\"/" {} \;
|
||||||
|
|
||||||
# Update our local Cargo.lock (not checked in).
|
# Update our local Cargo.lock (not checked in).
|
||||||
cargo update
|
cargo update
|
||||||
@@ -23,8 +25,41 @@ scripts/test-all.sh
|
|||||||
#
|
#
|
||||||
# Note that libraries need to be published in topological order.
|
# Note that libraries need to be published in topological order.
|
||||||
|
|
||||||
|
echo git checkout -b bump-version-to-$version
|
||||||
echo git commit -a -m "\"Bump version to $version"\"
|
echo git commit -a -m "\"Bump version to $version"\"
|
||||||
echo git tag v$version
|
echo git tag v$version
|
||||||
echo git push
|
echo git push origin bump-version-to-$version
|
||||||
|
echo "# Don't forget to click the above link to open a pull-request!"
|
||||||
echo git push origin v$version
|
echo git push origin v$version
|
||||||
echo "find -name Cargo.toml -exec scripts/cargo-chill.sh publish --manifest-path {} \\;"
|
for cargo_toml in \
|
||||||
|
crates/wasi-common/wasi-common-cbindgen/Cargo.toml \
|
||||||
|
crates/wasi-common/winx/Cargo.toml \
|
||||||
|
crates/wasi-common/wig/Cargo.toml \
|
||||||
|
crates/wasi-common/Cargo.toml \
|
||||||
|
crates/lightbeam/Cargo.toml \
|
||||||
|
crates/environ/Cargo.toml \
|
||||||
|
crates/obj/Cargo.toml \
|
||||||
|
crates/runtime/Cargo.toml \
|
||||||
|
crates/debug/Cargo.toml \
|
||||||
|
crates/jit/Cargo.toml \
|
||||||
|
crates/wast/Cargo.toml \
|
||||||
|
crates/wasi-c/Cargo.toml \
|
||||||
|
crates/wasi/Cargo.toml \
|
||||||
|
crates/api/Cargo.toml \
|
||||||
|
crates/interface-types/Cargo.toml \
|
||||||
|
crates/misc/py/Cargo.toml \
|
||||||
|
crates/misc/rust/macro/Cargo.toml \
|
||||||
|
crates/misc/rust/Cargo.toml \
|
||||||
|
; do
|
||||||
|
version=""
|
||||||
|
case $cargo_toml in
|
||||||
|
crates/lightbeam/Cargo.toml) version=" +nightly" ;;
|
||||||
|
crates/misc/py/Cargo.toml) version=" +nightly" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo cargo$version publish --manifest-path "$cargo_toml"
|
||||||
|
|
||||||
|
# Sleep for a few seconds to allow the server to update the index.
|
||||||
|
# https://internals.rust-lang.org/t/changes-to-how-crates-io-handles-index-updates/9608
|
||||||
|
echo sleep 10
|
||||||
|
done
|
||||||
|
|||||||
@@ -76,17 +76,18 @@ cargo doc
|
|||||||
# Note LSAN is disabled due to https://github.com/google/sanitizers/issues/764
|
# Note LSAN is disabled due to https://github.com/google/sanitizers/issues/764
|
||||||
banner "cargo fuzz check"
|
banner "cargo fuzz check"
|
||||||
if rustup toolchain list | grep -q nightly; then
|
if rustup toolchain list | grep -q nightly; then
|
||||||
if cargo install --list | grep -q cargo-fuzz; then
|
# Temporarily disable fuzz tests until https://github.com/bytecodealliance/cranelift/issues/1216 is resolved
|
||||||
echo "cargo-fuzz found"
|
#if cargo install --list | grep -q cargo-fuzz; then
|
||||||
else
|
# echo "cargo-fuzz found"
|
||||||
echo "installing cargo-fuzz"
|
#else
|
||||||
cargo +nightly install cargo-fuzz
|
# echo "installing cargo-fuzz"
|
||||||
fi
|
# cargo +nightly install cargo-fuzz
|
||||||
|
#fi
|
||||||
|
|
||||||
fuzz_module="1340712d77d3db3c79b4b0c1494df18615485480"
|
#fuzz_module="1340712d77d3db3c79b4b0c1494df18615485480"
|
||||||
ASAN_OPTIONS=detect_leaks=0 \
|
#ASAN_OPTIONS=detect_leaks=0 \
|
||||||
cargo +nightly fuzz run compile \
|
#cargo +nightly fuzz run compile \
|
||||||
"$topdir/fuzz/corpus/compile/$fuzz_module"
|
# "$topdir/fuzz/corpus/compile/$fuzz_module"
|
||||||
|
|
||||||
# Nightly is available, so also run lightbeam's tests, which we
|
# Nightly is available, so also run lightbeam's tests, which we
|
||||||
# skipped earlier.
|
# skipped earlier.
|
||||||
|
|||||||
Reference in New Issue
Block a user