johnthagen / johnthagen/min-sized-rust

`-C target-cpu=native`

Open
#14 7 comments 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9.8k
Forks
247
PR merge metrics
No merged PRs in 30d

Description

By using `RUSTFLAGS="-C target-cpu=native"`, the resulting binary will be _far_ less portable, but it can reduce the binary size a fair amount.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are identified. First determine whether the request is for documentation or an implementation change around RUSTFLAGS="-C target-cpu=native", then define how portability and binary-size effects should be evaluated; done when the intended scope and expected result are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.