| author | |
| committer | |
| log | 9d07a3bb194eae46161a67803138348d98d0b7d4 |
| tree | 816813df60f077d5eb982b464969fde951b90f9e |
| parent | 426cd8cd8b10a8ebc02af363750ce3144677e062 |
| signature | Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU |
Assisted-by: claude-opus-5.52 files changed, 5 insertions(+), 2 deletions(-)
Cargo.toml+4| ... | @@ -13,6 +13,10 @@ wgpu = "30.0.1" | ... | @@ -13,6 +13,10 @@ wgpu = "30.0.1" |
| 13 | [patch.crates-io] | 13 | [patch.crates-io] |
| 14 | sctk-adwaita = { path = "vendor/sctk-adwaita" } | 14 | sctk-adwaita = { path = "vendor/sctk-adwaita" } |
| 15 | 15 | ||
| 16 | [profile.release] | ||
| 17 | lto = "fat" | ||
| 18 | codegen-units = 1 | ||
| 19 | |||
| 16 | # Shaping, rasterization and GPU submission stay optimised in debug builds, where | 20 | # Shaping, rasterization and GPU submission stay optimised in debug builds, where |
| 17 | # unoptimised dependencies alone drop frames. | 21 | # unoptimised dependencies alone drop frames. |
| 18 | [profile.dev.package."*"] | 22 | [profile.dev.package."*"] |
tools/release_web.py+1-2| ... | @@ -22,8 +22,7 @@ PUBLISHED = Path('/Volumes/clover/Documents/Public/Snowbound/web') | ... | @@ -22,8 +22,7 @@ PUBLISHED = Path('/Volumes/clover/Documents/Public/Snowbound/web') |
| 22 | # copyparty lists the folder itself, so the app is at its index.html. | 22 | # copyparty lists the folder itself, so the app is at its index.html. |
| 23 | URL = 'https://file.paperclover.net/shr/snowbound/web/index.html' | 23 | URL = 'https://file.paperclover.net/shr/snowbound/web/index.html' |
| 24 | # Size over speed where it costs little: the module is most of the first load. | 24 | # Size over speed where it costs little: the module is most of the first load. |
| 25 | PROFILE = ['--config', 'profile.release.lto=true', '--config', 'profile.release.codegen-units=1', | 25 | PROFILE = ['--config', 'profile.release.opt-level="s"'] |
| 26 | '--config', 'profile.release.opt-level="s"'] | ||
| 27 | 26 | ||
| 28 | 27 | ||
| 29 | def run(command, **kwargs): | 28 | def run(command, **kwargs): |