Commit 49ccd13
committed
chore: add release profile to reduce binary size and fix OOM builds
Adds `strip = true` and `lto = "thin"` to the release profile to drastically reduce the compiled binary size. This prevents out-of-storage/OOM errors during container builds, especially given the heavy dependencies like LanceDB and DataFusion.1 parent 090ec0d commit 49ccd13
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
0 commit comments