You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by km19809 September 27, 2022
After the build command, maturin fails with a message: Cargo didn't build a cdylib. Did you miss crate-type = ["cdylib"] in the lib section of your Cargo.toml?
However, the crate was compiled successfully.
Also, there is crate-type = ["cdylib"] in the lib section. here.
What happened to me?
How can I solve this problem?
The last 4 lines of the message:
Compiling unindent v0.1.10
Finished release [optimized] target(s) in 1m 12s
💥 maturin failed
Caused by: Cargo didn't build a cdylib. Did you miss crate-type = ["cdylib"] in the lib section of your Cargo.toml?
Discussed in #1140
Originally posted by km19809 September 27, 2022
After the build command, maturin fails with a message:
Cargo didn't build a cdylib. Did you miss crate-type = ["cdylib"] in the lib section of your Cargo.toml?
However, the crate was compiled successfully.
Also, there is crate-type = ["cdylib"] in the lib section. here.
What happened to me?
How can I solve this problem?
The last 4 lines of the message:
Environments
Rust: 1.64.0
Rust-nightly: 1.66.0-nightly (8b705839c 2022-09-26)
Host: x86_64-unknown-linux-gnu
Maturin: 0.13.4
How to reproduce
git clone https://github.com/km19809/pyxel
RUSTUP_TOOLCHAIN=nightly maturin build -o dist --release --target wasm32-unknown-emscripten -- -Clink-arg=-sUSE_SDL=2
The text was updated successfully, but these errors were encountered: