Skip to content

Move release profile settings to workspace Cargo.toml#96

Merged
jeffcharles merged 1 commit into
mainfrom
jc.fix-release-profile
Mar 29, 2022
Merged

Move release profile settings to workspace Cargo.toml#96
jeffcharles merged 1 commit into
mainfrom
jc.fix-release-profile

Conversation

@jeffcharles
Copy link
Copy Markdown
Collaborator

This should fix a small bug where profile configurations weren't being picked up as expected.

As to why this works, from the Cargo docs:

Cargo only looks at the profile settings in the Cargo.toml manifest at the root of the workspace. Profile settings defined in dependencies will be ignored.

Did a quick size check and javy_core.wasm shrank from 2.7M to 1.3M with a very basic JS Wasm module shrank from 979K to 968K.

Copy link
Copy Markdown
Member

@saulecabrera saulecabrera left a comment

Choose a reason for hiding this comment

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

🎉

@jeffcharles jeffcharles merged commit 36c5ab9 into main Mar 29, 2022
@jeffcharles jeffcharles deleted the jc.fix-release-profile branch March 29, 2022 18:52
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