WebAssembly / WebAssembly/binaryen

Path variable to add in Windows

Open
#5,405 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
1d 19h
Merged PRs (30d)
69

Description

I need help in adding the right path to the environment variable on windows. I have downloaded the Windows release. I've added this "C:\Users\kirti\Downloads\binaryen-version_111-x86_64-windows\binaryen-version_111\bin\wasm-opt.exe" path to system environment variables, but I still get the error while running my cargo contract

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Windows release setup and how cargo contract locates wasm-opt.exe. Reproduce the reported error using the Windows path shown in the issue and determine whether the problem belongs to Binaryen or cargo contract. Done means the failing command and the required environment-variable configuration are clearly identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.