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

force inline on needed functions for smaller binary size #10

Merged
merged 1 commit into from
Feb 25, 2023

Conversation

chidea
Copy link
Contributor

@chidea chidea commented Feb 8, 2023

These inline tags lead to 634 bytes total added size to binary with maximum optimization options for wasm while 1,412 bytes are added when these inline tags removed.
Although, case using color feature will not really going to be helped much.
Here are profile options used for size optimization.

[profile.release]
lto = true
opt-level = "z"
panic = "abort"
strip = "debuginfo"
codegen-units = 1

Also, wee_alloc crate was used for #[global_allocator].

Copy link
Owner

@iamcodemaker iamcodemaker left a comment

Choose a reason for hiding this comment

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

This looks ok to me. I'll try and get this merged and push a new release within a few days.

@iamcodemaker iamcodemaker merged commit 162b362 into iamcodemaker:master Feb 25, 2023
@iamcodemaker
Copy link
Owner

Published v0.2.1

crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Mar 15, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [console_log](https://github.com/iamcodemaker/console_log) | dependencies | patch | `0.2.1` -> `0.2.2` |

---

### Release Notes

<details>
<summary>iamcodemaker/console_log</summary>

### [`v0.2.2`](https://github.com/iamcodemaker/console_log/releases/tag/0.2.2)

#### What's Changed

-   remove trailing semicolon from macro by [@&#8203;escobar-west](https://github.com/escobar-west) in iamcodemaker/console_log#12

#### New Contributors

This is the first time generating release notes, so not all of these contributions are in this release. I still wanted to recognize the contributions.

-   [@&#8203;azriel91](https://github.com/azriel91) made their first contribution in iamcodemaker/console_log#6
-   [@&#8203;neurosie](https://github.com/neurosie) made their first contribution in iamcodemaker/console_log#7
-   [@&#8203;dependabot-preview](https://github.com/dependabot-preview) made their first contribution in iamcodemaker/console_log#8
-   [@&#8203;chidea](https://github.com/chidea) made their first contribution in iamcodemaker/console_log#10
-   [@&#8203;escobar-west](https://github.com/escobar-west) made their first contribution in iamcodemaker/console_log#12

**Full Changelog**: https://github.com/iamcodemaker/console_log/commits/0.2.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE1OS4yIn0=-->

Co-authored-by: cabr2-bot <[email protected]>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1814
Reviewed-by: crapStone <[email protected]>
Co-authored-by: Calciumdibromid Bot <[email protected]>
Co-committed-by: Calciumdibromid Bot <[email protected]>
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