| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Link pcre2 dynamically
- it was linked statically and libpcre2 dependency was useless
- it magically fixes build error when global LTO is enabled
- it reduces resulting binary size
- Use 'release-lto' cargo profile to further reduce binary size
'rg' binary sizes comparision (arm_cortex-a9+neon):
- 4293KB: unmodified
- 4018KB: dynamic libpcre2
- 3521KB: dynamic libpcre2 + release-lto
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
|
|
|
|
| |
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows cargo to use make's jobserver when building packages, by
marking the cargo command as recursive (with the + prefix[1]) and
setting MAKEFLAGS.
This also:
* Give cargo/x.py the build directory instead of having to change the
current directory (and opening subshells)
* Set PKG_BUILD_PARALLEL/HOST_BUILD_PARALLEL for Rust packages to enable
the use of make's jobserver
[1]: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
| |
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
|
|
|
|
|
| |
Co-authored-by: Tianling Shen <cnsztl@gmail.com>
Signed-off-by: Luca Barbato <luca.barbato@gmail.com>
|
|
Based on work from Donald Hoskins <grommish@gmail.com>.
Testcase for the rust language support.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|