Skip to content

Remove debug builds from ripgrep and add extra flags to release profile#19

Merged
andreamah merged 21 commits intomainfrom
andreamah/issue15
Mar 6, 2023
Merged

Remove debug builds from ripgrep and add extra flags to release profile#19
andreamah merged 21 commits intomainfrom
andreamah/issue15

Conversation

@andreamah
Copy link
Contributor

@andreamah andreamah commented Mar 1, 2023

Fixes #15
Fixes #20

Doesn't use the latest cross version since it runs into an issue with pcre2 that should be fixed when BurntSushi/rust-pcre2#30 is merged upstream.


Made the x86_64-unknown-linux-musl prebuilt go from ~39.1MB to ~5.1MB.
Made the i686-unknown-linux-musl prebuilt go from ~29.7MB to ~4.0MB.

@andreamah andreamah marked this pull request as draft March 1, 2023 19:38
@andreamah andreamah changed the title Prebuilt provides debug builds Remove debug builds from ripgrep Mar 3, 2023
@andreamah andreamah changed the title Remove debug builds from ripgrep Remove debug builds from ripgrep and add extra flags to release profile Mar 4, 2023
@andreamah andreamah requested a review from roblourens March 6, 2023 17:09
@andreamah andreamah marked this pull request as ready for review March 6, 2023 17:09
roblourens
roblourens previously approved these changes Mar 6, 2023
@andreamah andreamah merged commit fa1ae13 into main Mar 6, 2023
@andreamah andreamah deleted the andreamah/issue15 branch March 6, 2023 22:08
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.

Reduce package size with rust compile flags. Prebuilt provides debug builds

3 participants