Skip to content

Fix source map gen for relative include directories #20778

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

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

kon72
Copy link
Contributor

@kon72 kon72 commented Nov 25, 2023

Since #20577, relative paths are used in command line to build system libraries.
As such, we need to properly handle those relative paths to generate a source map pointing to real source file locations.

@kripken
Copy link
Member

kripken commented Nov 27, 2023

Thanks! This looks right to me, but please let's add testing for it (as discussed in #20776 (comment)).

@kon72 kon72 marked this pull request as draft December 3, 2023 12:04
@kon72 kon72 force-pushed the source-map-relative-include-dir branch from 9353d4e to 5d6cd81 Compare December 14, 2023 05:29
@kon72 kon72 marked this pull request as ready for review December 14, 2023 05:29
@kon72
Copy link
Contributor Author

kon72 commented Dec 14, 2023

please let's add testing for it (as discussed in #20776 (comment)).

@kripken Added a test. Could you please take another look?

@kripken kripken merged commit 813520b into emscripten-core:main Dec 14, 2023
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