Commit Graph

7 Commits

Author SHA1 Message Date
a-kenji
10724ac958
rust-toolchain: Update (#1659)
Co-authored-by: a-kenji <a-kenji@users.noreply.github.com>
2022-08-14 09:09:57 +02:00
a-kenji
ea3d73c105
rust-toolchain: Update (#1578)
Co-authored-by: a-kenji <a-kenji@users.noreply.github.com>
2022-07-10 12:54:14 +02:00
a-kenji
d267730704
build: strip debug symbols (#1177)
* build: strip debug symbols

Stripping the symbols for the release build drops binary size
currently by 20% and the plugin binaries by up to 50%.

Alternative: Keep the debug symbols also on releases

* bump(rust): `1.58.0` -> `1.59.0`

* chore: bump MSRV `1.56` -> `1.59`

Needed for cargos strip-debug feature
2022-05-22 12:48:34 +02:00
a-kenji
ac3c09066b
fix: rust-toolchain -> rust-toolchain.toml (#1313)
The new location has been stable for a year, by now peoples toolchains
should have been able to catch up.
2022-04-12 08:15:13 +02:00
Brooks J Rady
57dc07409d fix(get rid of old toolchain file) 2021-02-23 17:57:15 +00:00
a-kenji
dbbb0792c9 Remove Target from toolchain file.
Maybe it makes sense to not define the targets
in the file for now if we decide to use it at all -
they could be a lot and hard to maintain?
2021-02-22 18:16:23 +01:00
a-kenji
0e10aa882e Add rust-toolchain.toml file
The rust-toolchain file makes
it possible to share a basic
rustup configuration across the
project.

https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file

Important to note, this is the
current rustup hierarchy:

1. An explicit toolchain, e.g. cargo +beta,
2. The RUSTUP_TOOLCHAIN environment variable,
3. A directory override, ala rustup override set beta,
4. The rust-toolchain file,
5. The default toolchain,

source:
c2db7dac6b/README.md (toolchain-override-shorthand)
2021-02-22 18:16:23 +01:00