Skip to content

Add skip_typescript to add string enums in web-sys #4173

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

Closed

Conversation

RunDevelopment
Copy link
Contributor

Temporary solution for #4163.

I changed the webidl generator code and added a test case to see whether the fix works.

However, running the command from the web-sys README fails on my system, so I cannot re-generate the rs files.

PS C:\Users\micha\Git\wasm-bindgen> cargo run --release --package wasm-bindgen-webidl -- webidls src/features ./Cargo.toml
    Finished `release` profile [optimized] target(s) in 0.30s
     Running `target\release\wasm-bindgen-webidl.exe webidls src/features ./Cargo.toml`
Error: reading webidls directory

Caused by:
    Das System kann den angegebenen Pfad nicht finden. (os error 3)
error: process didn't exit successfully: `target\release\wasm-bindgen-webidl.exe webidls src/features ./Cargo.toml` (exit code: 1)

@RunDevelopment
Copy link
Contributor Author

And thank you for running the command for me.

@RunDevelopment
Copy link
Contributor Author

We decided against this solution: #4163 (comment)

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

Successfully merging this pull request may close these issues.

2 participants