Skip to content

Use cmdline.options consistently. NFC - #27439

Open
sbc100 wants to merge 1 commit into
emscripten-core:mainfrom
sbc100:cmdline_options
Open

Use cmdline.options consistently. NFC#27439
sbc100 wants to merge 1 commit into
emscripten-core:mainfrom
sbc100:cmdline_options

Conversation

@sbc100

@sbc100 sbc100 commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

We had some parts of the codebase that were using the ambient/global cmdline.options and other that were passing the options object around as as a param.

For a tool like a compiler it think use the global options options object if pretty reasonable and keeps the code simple.

@sbc100
sbc100 requested a review from kripken July 29, 2026 00:23
@sbc100
sbc100 force-pushed the cmdline_options branch from 2b15b3d to 188ad4e Compare July 29, 2026 00:25
We had some parts of the codebase that were using the ambient/global
`cmdline.options` and other that were passing the options object
around as as a param.

For a tool like a compiler it think use the global options options
object if pretty reasonable and keeps the code simple.
@sbc100
sbc100 force-pushed the cmdline_options branch from 188ad4e to e30afe8 Compare July 29, 2026 00:29
@sbc100

sbc100 commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator Author

Hopefully this will make changes like this more obviously correct: #27422

@sbc100
sbc100 enabled auto-merge (squash) July 29, 2026 00:47
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.

1 participant