Windows (without WSL) build failure on ABI generation step
Opened this issue · 3 comments
dj8yfo commented
after installing binary release from latest https://github.com/near/cargo-near/releases/tag/cargo-near-v0.6.4 tag
with
irm https://github.com/near/cargo-near/releases/latest/download/cargo-near-installer.ps1 | iex
a cargo near build
command fails for a default project, generated by cargo near new
:
A standalone cargo build --features near-sdk/__abi-generate
command fails with similar error (with and without --release
).
A cargo near build --no-abi
succeeds:
As well as standalone cargo build --target wasm32-unknown-unknown
(with and without --release
).
dj8yfo commented
the following link https://rust-lang.github.io/rfcs/1717-dllimport.html may or may not be a part of research/implementation, needed for near-sdk
in order to fix this
dj8yfo commented
Link to near/near-sdk-rs#1221