Skip to content

Fix source map gen for relative include directories#20778

Merged
kripken merged 2 commits intoemscripten-core:mainfrom
kon72:source-map-relative-include-dir
Dec 14, 2023
Merged

Fix source map gen for relative include directories#20778
kripken merged 2 commits intoemscripten-core:mainfrom
kon72:source-map-relative-include-dir

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