madebr opened issue #3168:
The 0.29.0 release does not contain an import library for the shared library.
It should contain a file namedlib/libwasmtime.dll.a
.The contents of
wasmtime-v0.29.0-x86_64-mingw-c-api.zip
are:wasmtime-v0.29.0-x86_64-mingw-c-api ├── include │ ├── doc-wasm.h │ ├── wasi.h │ ├── wasm.h │ ├── wasmtime │ │ ├── config.h │ │ ├── error.h │ │ ├── extern.h │ │ ├── func.h │ │ ├── global.h │ │ ├── instance.h │ │ ├── linker.h │ │ ├── memory.h │ │ ├── module.h │ │ ├── store.h │ │ ├── table.h │ │ ├── trap.h │ │ └── val.h │ └── wasmtime.h ├── lib │ ├── libwasmtime.a │ └── wasmtime.dll ├── LICENSE └── README.md 3 directories, 21 files
madebr edited issue #3168:
The 0.29.0 release does not contain an import library for the shared library.
It should contain a file namedlib/libwasmtime.dll.a
.The contents of
wasmtime-v0.29.0-x86_64-mingw-c-api.zip
are:wasmtime-v0.29.0-x86_64-mingw-c-api ├── include │ ├── doc-wasm.h │ ├── wasi.h │ ├── wasm.h │ ├── wasmtime │ │ ├── config.h │ │ ├── error.h │ │ ├── extern.h │ │ ├── func.h │ │ ├── global.h │ │ ├── instance.h │ │ ├── linker.h │ │ ├── memory.h │ │ ├── module.h │ │ ├── store.h │ │ ├── table.h │ │ ├── trap.h │ │ └── val.h │ └── wasmtime.h ├── lib │ ├── libwasmtime.a │ └── wasmtime.dll ├── LICENSE └── README.md 3 directories, 21 files
It can be manually generated using
dlltool -D wasmtime.dll -l libwasmtime.dll.a
madebr edited issue #3168:
The 0.29.0 release does not contain an import library for the shared library.
It should contain a file namedlib/libwasmtime.dll.a
.The contents of
wasmtime-v0.29.0-x86_64-mingw-c-api.zip
are:wasmtime-v0.29.0-x86_64-mingw-c-api ├── include │ ├── doc-wasm.h │ ├── wasi.h │ ├── wasm.h │ ├── wasmtime │ │ ├── config.h │ │ ├── error.h │ │ ├── extern.h │ │ ├── func.h │ │ ├── global.h │ │ ├── instance.h │ │ ├── linker.h │ │ ├── memory.h │ │ ├── module.h │ │ ├── store.h │ │ ├── table.h │ │ ├── trap.h │ │ └── val.h │ └── wasmtime.h ├── lib │ ├── libwasmtime.a │ └── wasmtime.dll ├── LICENSE └── README.md 3 directories, 21 files
bjorn3 commented on issue #3168:
Rustc doesn't create import libraries afaik. You will need to make them yourself. According to stackoverflow you can use the following commands:
echo LIBRARY WASMTIME > wasmtime.def echo EXPORTS >> wasmtime.def for /f "skip=19 tokens=4" %A in ('dumpbin /exports wasmtime.dll') do echo %A >> wasmtime.def lib /def:wasmtime.def /out:wasmtime.lib
alexcrichton commented on issue #3168:
Thanks for the report! This was forgotten by accident, and I've submitted https://github.com/bytecodealliance/wasmtime/pull/3170 to fix this.
pepyakin commented on issue #3168:
Closed by #3170
pepyakin closed issue #3168:
The 0.29.0 release does not contain an import library for the shared library.
It should contain a file namedlib/libwasmtime.dll.a
.The contents of
wasmtime-v0.29.0-x86_64-mingw-c-api.zip
are:wasmtime-v0.29.0-x86_64-mingw-c-api ├── include │ ├── doc-wasm.h │ ├── wasi.h │ ├── wasm.h │ ├── wasmtime │ │ ├── config.h │ │ ├── error.h │ │ ├── extern.h │ │ ├── func.h │ │ ├── global.h │ │ ├── instance.h │ │ ├── linker.h │ │ ├── memory.h │ │ ├── module.h │ │ ├── store.h │ │ ├── table.h │ │ ├── trap.h │ │ └── val.h │ └── wasmtime.h ├── lib │ ├── libwasmtime.a │ └── wasmtime.dll ├── LICENSE └── README.md 3 directories, 21 files
Last updated: Nov 22 2024 at 17:03 UTC