Skip to content

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 27, 2025

No description provided.

@sbc100 sbc100 requested a review from kripken February 27, 2025 23:25
@sbc100 sbc100 force-pushed the js_warnings_part2 branch 3 times, most recently from a440409 to c5a9b62 Compare February 27, 2025 23:52
sbc100 added a commit to sbc100/emscripten that referenced this pull request Feb 28, 2025
System library paths are converted to absolute paths, both in link.py
and in modules.mjs, but use JS libraries are left in their original
form.

Added a test to confirm that a user library can have the same name
as as system library without issue.

Split out from emscripten-core#23787
sbc100 added a commit to sbc100/emscripten that referenced this pull request Feb 28, 2025
System library paths are converted to absolute paths, both in link.py
and in modules.mjs, but use JS libraries are left in their original
form.

Added a test to confirm that a user library can have the same name
as as system library without issue.

Split out from emscripten-core#23787
sbc100 added a commit to sbc100/emscripten that referenced this pull request Feb 28, 2025
System library paths are converted to absolute paths, both in link.py
and in modules.mjs, but use JS libraries are left in their original
form.

Added a test to confirm that a user library can have the same name
as as system library without issue.

Split out from emscripten-core#23787
sbc100 added a commit to sbc100/emscripten that referenced this pull request Feb 28, 2025
System library paths are converted to absolute paths, both in link.py
and in modules.mjs, but use JS libraries are left in their original
form.

Added a test to confirm that a user library can have the same name
as as system library without issue.

Split out from emscripten-core#23787
sbc100 added a commit to sbc100/emscripten that referenced this pull request Feb 28, 2025
System library paths are converted to absolute paths, both in link.py
and in modules.mjs, but use JS libraries are left in their original
form.

Added a test to confirm that a user library can have the same name
as as system library without issue.

Split out from emscripten-core#23787
@sbc100 sbc100 force-pushed the js_warnings_part2 branch 2 times, most recently from 437bad4 to caae33c Compare February 28, 2025 22:07
sbc100 added a commit to sbc100/emscripten that referenced this pull request Feb 28, 2025
System library paths are converted to absolute paths, both in link.py
and in modules.mjs, but use JS libraries are left in their original
form.

Added a test to confirm that a user library can have the same name
as as system library without issue.

Split out from emscripten-core#23787
@sbc100 sbc100 force-pushed the js_warnings_part2 branch 2 times, most recently from 698fcc0 to 34d15bb Compare March 1, 2025 00:04
sbc100 added a commit to sbc100/emscripten that referenced this pull request Mar 1, 2025
System library paths are converted to absolute paths, both in link.py
and in modules.mjs, but use JS libraries are left in their original
form.

Added a test to confirm that a user library can have the same name
as as system library without issue.

Split out from emscripten-core#23787
sbc100 added a commit to sbc100/emscripten that referenced this pull request Mar 1, 2025
System library paths are converted to absolute paths, both in link.py
and in modules.mjs, but use JS libraries are left in their original
form.

Added a test to confirm that a user library can have the same name
as as system library without issue.

Split out from emscripten-core#23787
sbc100 added a commit to sbc100/emscripten that referenced this pull request Mar 1, 2025
System library paths are converted to absolute paths, both in link.py
and in modules.mjs, but use JS libraries are left in their original
form.

Added a test to confirm that a user library can have the same name
as as system library without issue.

Split out from emscripten-core#23787
sbc100 added a commit that referenced this pull request Mar 1, 2025
System library paths are converted to absolute paths, both in link.py
and in modules.mjs, but use JS libraries are left in their original
form.

Added a test to confirm that a user library can have the same name as as
system library without issue.

Split out from #23787
As part of this I also avoid converting JS libraries path to absolute
paths where possible.  This means that errors and warnings show the
actual pathname passed by the users, and not some absolute path.  This
makes writing tests for the double-reporting issue easier, and makes the
errors/warnings easier to read (IMHO).
@sbc100 sbc100 force-pushed the js_warnings_part2 branch from 34d15bb to 84c8eb4 Compare March 1, 2025 21:36
@sbc100
Copy link
Collaborator Author

sbc100 commented Mar 1, 2025

OK, this PR is now much simpler since #23798 landed separately.

@sbc100 sbc100 enabled auto-merge (squash) March 1, 2025 21:37
@sbc100 sbc100 disabled auto-merge March 1, 2025 21:37
@sbc100 sbc100 enabled auto-merge (squash) March 1, 2025 21:38
@sbc100 sbc100 requested a review from dschuff March 3, 2025 17:10
@sbc100 sbc100 disabled auto-merge March 3, 2025 17:14
@sbc100 sbc100 merged commit f3cdd7c into emscripten-core:main Mar 3, 2025
29 checks passed
@sbc100 sbc100 deleted the js_warnings_part2 branch March 3, 2025 17:14
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.

3 participants