Fixes needed for 0.19.0 (#2035)

* Add some more wiggle crates to publish

* Fix build of wasi-common on crates.io

* Bump crates to 0.19.1 to fix crates.io build
This commit is contained in:
Alex Crichton
2020-07-16 17:27:21 -05:00
committed by GitHub
parent 5e0268a542
commit 2f368ed5d6
7 changed files with 12 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-wiggle-macro"
version = "0.19.0"
version = "0.19.1"
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkonk@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -48,9 +48,9 @@ use config::{MissingMemoryConf, ModuleConf, TargetConf};
#[proc_macro]
pub fn wasmtime_integration(args: TokenStream) -> TokenStream {
let mut config = parse_macro_input!(args as config::Config);
config.witx.make_paths_relative_to(
std::env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR env var"),
);
config
.witx
.make_paths_relative_to(std::env::var("WASI_ROOT").expect("WASI_ROOT env var"));
let doc = config.load_document();
let names = Names::new(&config.ctx.name, quote!(wasmtime_wiggle));