Skip to content
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

Windows (without WSL) build failure on ABI generation step #188

Open
dj8yfo opened this issue Jul 24, 2024 · 3 comments
Open

Windows (without WSL) build failure on ABI generation step #188

dj8yfo opened this issue Jul 24, 2024 · 3 comments

Comments

@dj8yfo
Copy link
Collaborator

dj8yfo commented Jul 24, 2024

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

onto
image
image

a cargo near build command fails for a default project, generated by cargo near new:
image
image
image

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:
image
As well as standalone cargo build --target wasm32-unknown-unknown (with and without --release).

@dj8yfo
Copy link
Collaborator Author

dj8yfo commented Jul 24, 2024

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
Copy link
Collaborator Author

dj8yfo commented Jul 30, 2024

Link to near/near-sdk-rs#1221

@Jemiiah
Copy link

Jemiiah commented Jul 30, 2024

I would love to work on this issue @dj8yfo may I 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants