JuliaLang / JuliaLang/juliaup

Consider stripping binaries

Open
#320 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
1.3k
Forks
116
Avg merge
12h 34m
Merged PRs (30d)
19

Description

Hi,

I tested this
```bash
cargo build --release --bins --features selfupdate
```

`strip` disabled:
juliainstaller - 7.8MB
julialauncher - 4MB
juliaup - 7.8MB

`strip` enabled:
juliainstaller - 4.4MB
julialauncher - 2MB
juliaup - 4.5MB

You can enable strip on release by adding `strip = true` to `profile.release`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Cargo release profile configuration and first reproduce the supplied `cargo build --release --bins --features selfupdate` command. Enable release stripping as proposed, then verify the build succeeds and compare the resulting juliainstaller, julialauncher, and juliaup sizes with the reported reductions.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.