Files
packages/lang
Jeffery To 8bf2725f9b rust: Set release profile settings
* codegen-units, lto, opt-level - Set to values to optimize binary
  size[1].

* overflow-checks - Enabled because in release mode, integer overflows
  are defined as two's complement wrap[2]. It is highly unlikely that
  any program is intentionally relying on this behaviour; it would be
  better to panic instead of continue execution in this case.

* debug, debug-assertions, panic, rpath - Set to their default (release)
  values, to override any settings made by packages, e.g. ripgrep sets
  debug = 1[3].

[1]: https://github.com/johnthagen/min-sized-rust
[2]: https://huonw.github.io/blog/2016/04/myths-and-legends-about-integer-overflow-in-rust/
[3]: https://github.com/BurntSushi/ripgrep/blob/13.0.0/Cargo.toml#L79-L80

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:24 +08:00
..
2023-01-20 17:44:14 -08:00
2023-04-21 22:46:58 +02:00
2023-10-07 20:04:12 +08:00
…
2021-06-12 21:05:01 -07:00
2023-10-08 14:08:00 +03:00
2023-04-21 22:46:58 +02:00
2022-12-22 16:25:34 -08:00
2021-06-12 21:05:01 -07:00
2022-08-31 13:33:28 -07:00
2023-07-10 19:48:19 -07:00
2023-05-20 13:16:26 +08:00
2022-12-22 16:32:17 -08:00
2022-01-11 16:25:33 -08:00
2023-04-21 22:46:58 +02:00
2022-01-29 13:31:55 -08:00
2021-06-12 21:05:01 -07:00
2023-09-21 08:42:41 +08:00
2022-04-16 11:01:06 -07:00
2023-05-24 06:06:17 +03:00
2023-03-08 15:37:07 +08:00
2023-09-17 13:44:03 -06:00
2020-03-19 15:38:23 -07:00
2020-03-19 16:03:59 -07:00
2023-04-21 22:46:58 +02:00
2023-10-03 20:34:23 +02:00
2023-08-14 18:16:23 -03:00
2023-10-11 15:50:24 +08:00
2023-04-21 22:46:58 +02:00
…