Skip to content

wasm2c: Use static for wasm-rt globals. NFC - #1945

Merged
sbc100 merged 1 commit into
mainfrom
wasm_rt_statics
Jul 14, 2022
Merged

sbc100 merged 1 commit into
mainfrom
wasm_rt_statics

Conversation

@sbc100

@sbc100 sbc100 commented Jul 13, 2022

Copy link
Copy Markdown
Member

And use the wasm_rt_ prefix for the one non-static global.

While reviewing #1930 I noticed these globals could/should be static.

@sbc100
sbc100 requested a review from keithw July 13, 2022 00:25

@keithw keithw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm % comments

Comment thread wasm2c/wasm-rt-impl.c Resolved
Comment thread wasm2c/wasm-rt-impl.c Resolved
And use the `wasm_rt_` prefix for the one non-static global.

While reviewing #1930 I noticed these globals could/should be static.
@sbc100
sbc100 force-pushed the wasm_rt_statics branch from c5dfa37 to 80a96d5 Compare July 13, 2022 22:43
@sbc100

sbc100 commented Jul 13, 2022

Copy link
Copy Markdown
Member Author

ptal

@sbc100 sbc100 changed the title wasm2c: Use static for wasm-rt globals. NFC wasm2c: Use static for wasm-rt globals. NFC Jul 13, 2022
@keithw

keithw commented Jul 13, 2022

Copy link
Copy Markdown
Member

lgtm

@sbc100
sbc100 merged commit 54c5535 into main Jul 14, 2022
@sbc100
sbc100 deleted the wasm_rt_statics branch July 14, 2022 00:00
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