Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/smaller binaries #433

Merged
merged 1 commit into from
Jun 11, 2024

Commits on Jun 8, 2024

  1. feat: reduce binary size of libpact_ffi / verifier_cli

    [profile.release]
    strip = true
    opt-level = "z"
    codegen-units = 1
    
    we do not use lto=true, as this config is applied at the root level to both the pact_ffi and verifier_cli crates. lto=true inflates the size of the static libraries dramatically. It may be prudent to apply this in the release scripts for the verifier cli to allow for further executable size reductions.
    
    Should we elect for setting these values conditionally or via a seperate profile, such that we dont affect the --release profile for other crates in the workspace?
    YOU54F committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    29359fe View commit details
    Browse the repository at this point in the history