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

fix: support wasm #3

Merged
merged 3 commits into from
Sep 23, 2024
Merged

fix: support wasm #3

merged 3 commits into from
Sep 23, 2024

Conversation

dsherret
Copy link
Member

Make Url::from_file_path work in Wasm.

test,
not(any(unix, windows, target_os = "redox", target_os = "wasi"))
))]
fn file_path_to_url_wasm(path: &Path) -> Url {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not perfect, but good enough for now. We can fix issues as they arise.

@dsherret dsherret merged commit 7b2e8a1 into denoland:main Sep 23, 2024
3 checks passed
@dsherret dsherret deleted the fix_support_wasm branch September 23, 2024 21:24
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