Skip to content

Conversation

JosiahParry
Copy link
Contributor

@JosiahParry JosiahParry commented Aug 15, 2025

This PR closes #463 and is a follow up to #461 for WebR support (and generally overall binary size).

It adds lto=true and codegen-units=1 to the release profile. This is seemingly required (at least lto = true) for WASM compatibility—otherwise the symbols generated are incompatible with emscripten.

@Ilia-Kosenkov @albersonmiranda @CGMossa Mind reviewing / approving when you can?

@JosiahParry
Copy link
Contributor Author

Closing in favor of #465

Copy link

codecov bot commented Aug 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.73%. Comparing base (b226db3) to head (dc5fc21).

Additional details and impacted files

Impacted file tree graph

Files with missing lines Coverage Δ
R/use_extendr.R 98.67% <100.00%> (+0.04%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Use lto and codegen-units in the release profile
2 participants