Skip to content

Disable LLVM warnings and enable LTO in emscripten build#487

Merged
kvpanch merged 2 commits intomainfrom
kvpanch/emscripten_warning_lto
Mar 4, 2026
Merged

Disable LLVM warnings and enable LTO in emscripten build#487
kvpanch merged 2 commits intomainfrom
kvpanch/emscripten_warning_lto

Conversation

@kvpanch
Copy link
Contributor

@kvpanch kvpanch commented Mar 3, 2026

Fixed #148 and last task of #156

@kvpanch kvpanch requested review from elle-j and xermicus March 3, 2026 12:15
"-DLINKER_SUPPORTS_COLOR_DIAGNOSTICS=0",
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=1",
// Enable thin LTO but emscripten has various issues with it.
// FIXME: https://github.com/paritytech/revive/issues/148
Copy link
Contributor

Choose a reason for hiding this comment

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

Just for linking and auto closing the issue, you can mention closing #148 in the description 👍

Copy link
Member

@xermicus xermicus left a comment

Choose a reason for hiding this comment

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

Nice! Would be awesome if this finally works 🎉

@kvpanch kvpanch merged commit 5aebcc7 into main Mar 4, 2026
17 checks passed
@xermicus xermicus deleted the kvpanch/emscripten_warning_lto branch March 4, 2026 16:26
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.

Enable LTO for emscriptten build

3 participants