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: content type detection plus other fixes #3

Closed
wants to merge 25 commits into from
Closed

Conversation

YOU54F
Copy link
Owner

@YOU54F YOU54F commented May 27, 2024

No description provided.

YOU54F and others added 25 commits May 10, 2024 14:36
# Slim executables

```toml
[profile.release]
strip = true
opt-level = "z"
codegen-units = 1
lto = true
```

## References
- https://doc.rust-lang.org/stable/rustc/codegen-options/
- https://doc.rust-lang.org/rustc/profile-guided-optimization.html
- https:/johnthagen/min-sized-rust
- testing building on macos with cross tools (build.rs update to only
  fire for macos targets)
- drop lto as it inflates *.a and *.dll.lib targets
  - causes 3mb increase in linux verifier cli (pass flag conditionally?)
- build all linux targets with cross
  - attempt to run without cargo clean step to maximise caching potential
@YOU54F
Copy link
Owner Author

YOU54F commented May 28, 2024

currently has issue with *.a on linux (stripped, which is causing linking issues in pact-js-core) - so switching to *.so which is grand

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.

1 participant