Skip to content

[wasm2c] Set the wasm-rt library as STATIC and EXCLUDE_FROM_ALL - #8958

Closed
lexi-nadia wants to merge 1 commit into
WebAssembly:mainfrom
lexi-nadia:bugfix
Closed

[wasm2c] Set the wasm-rt library as STATIC and EXCLUDE_FROM_ALL#8958
lexi-nadia wants to merge 1 commit into
WebAssembly:mainfrom
lexi-nadia:bugfix

Conversation

@lexi-nadia

Copy link
Copy Markdown
Collaborator

We don't actually need this to get built or used. The CMake rule exists only so that clang-tidy knows these files are C, not C++.

We don't actually need this to get built or used. The CMake rule exists only so that clang-tidy knows these files are C, not C++.
@lexi-nadia
lexi-nadia requested a review from a team as a code owner July 31, 2026 14:30
@lexi-nadia
lexi-nadia requested review from stevenfontanella and removed request for a team July 31, 2026 14:30
@tlively

tlively commented Jul 31, 2026

Copy link
Copy Markdown
Member

Is it clang-tidy on the CI we're worried about or clang-tidy locally? If the former, then updating scripts/clang-tidy-diff.h would probably make more sense than using cmake. If the latter, idk. I guess most of the developers are not running clang-tidy locally.

I'm actually not sure why telling CMake about these files would cause clang-tidy to treat them differently. Maybe clang-tidy is reading compile_commands.json? I see it has that capability if you pass -p <build dir>, but it doesn't look like scripts/clang-tidy-diff.h does that explicitly.

@tlively tlively 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 anyway to unbreak the roller (hopefully)

@lexi-nadia lexi-nadia closed this Jul 31, 2026
@lexi-nadia
lexi-nadia deleted the bugfix branch July 31, 2026 15:05
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