[request] Add other compilation flags to reduce bundle size
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 85/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- markdown, rust
- Domain
- documentation
Research direction
This is a docs-only edit on the tauri-docs site. Find the page rendered from https://tauri.app/concept/size/#cargo-configuration in the content directory (likely something like content/docs/concept/size.mdx) and read the existing Cargo configuration section. Add the suggested rustflags entries, with a note that the pack-dyn-relocs flag is Android-specific for MinSDKVersion >= 28 and that force-unwind-tables=no pairs with panic = "abort". Done when the section includes the flags with those caveats and the site builds.
Written by the indexing model from the issue text.
Description
Question you want answered
App Size Reduction
Where did you look for an answer?
https://tauri.app/concept/size/#cargo-configuration
Page URL
https://tauri.app/concept/size/#cargo-configuration
Additional context
In the documentation, that can be found at: https://tauri.app/concept/size/#cargo-configuration, it might be usefull to add this compilation arguments in the config.toml.
rustflags = [
"-C", "link-arg=-Wl,--pack-dyn-relocs=android",
#specific for android target with MinSDKVersion >= 28
"-C", "force-unwind-tables=no",
#if you have already panic = "abort"
]
Are you willing to work on this yourself?
- I want to work on this myself
- Dominant language
- MDX
- Stars
- 1.1k
- Forks
- 900
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 23
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tauri-apps/tauri-docs
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
tauri-apps/tauri-docs#4201 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
tauri-apps/tauri-docs#2839 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
tauri-apps/tauri-docs#2739 · 2 reactions ·
Maintainers usually reply within 2 days
-
[request] File System guide missing rust instructionsMay be free again A pull request for this issue was closed without being merged. Opendiscuss enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
tauri-apps/tauri-docs#2567 ·
Maintainers usually reply within 2 days
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
tauri-apps/tauri-docs#4199 ·
Maintainers usually reply within 2 days
All issues in tauri-apps/tauri-docs
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
theforeman/foreman-documentation#5687 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
SasanLabs/VulnerableApp#912 ·
Maintainers usually reply within 1 day
-
docs: qualify copied and custom kubectl debug policy notesPossibly taken @nym01 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kubescape/cel-admission-library#166 · 1 comment ·
Maintainers usually reply within 1 day
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
[Sync EN] Formatting improvements to "Large Objects (LOBs)" docs (#6056)Possibly taken A pull request linked to this issue is open or already merged. Opensync-en
Difficulty 1/5 Under an hour Newbie friendliness 74/100
Maintainers usually reply within 1 day