-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: use edgee-component toml to build #3
Conversation
@CLEMENTINATOR could you please have a look here? I get these errors/warnings when running: $ go run go.bytecodealliance.org/cmd/wit-bindgen-go generate -o internal/ ./wit
wasm-tools: error: interface not found in package
--> /dev/stdin:35:21
|
35 | import wasi:clocks/timezone@0.2.2;
| ^-------
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: error: interface not found in package
--> /dev/stdin:7:21
|
7 | import wasi:clocks/timezone@0.2.2;
| ^-------
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm-tools: thread 'main' panicked at /Users/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-parser-0.220.0/src/resolve.rs:1071:41:
assertion `left == right` failed
left: 1
right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Then everything works fine when I run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some errors locally, let's figure it out together.
afde557
to
47df4cf
Compare
We moved the build process to be compatible with our edgee cli