cargo-binstall/crates
Jiahao XU d72abde8e9
Fixed #704: Fix get_target_from_rustc for alpine (#705)
On Alpine, rustc returns host triple `x86_64-alpine-linux-musl`, so we
have to adopt code from
[`convert_custom_linux_target`](5519aeb5c2/build-common.rs (L1-L13)) to fix this.

* Optimize `get_target_from_rustc`: Avoid frequent String allocation

caused by `Cursor::new(stdout).lines()` which calls `BufRead::lines` and
returns `Lines` iterator, which returns `Item = io::Result<String>`.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-01-16 10:57:53 +11:00
..
bin release: cargo-binstall v0.19.1 (#698) 2023-01-12 17:16:40 +11:00
binstalk release: binstalk v0.7.0 (#690) 2023-01-11 00:49:45 +00:00
binstalk-downloader Bump zstd from 0.12.1+zstd.1.5.2 to 0.12.2+zstd.1.5.2 (#695) 2023-01-12 07:36:21 +00:00
binstalk-manifests release: binstalk-manifests v0.2.0 (#684) 2023-01-10 23:48:36 +00:00
binstalk-types release: binstalk-types v0.2.0 (#685) 2023-01-11 10:29:31 +11:00
detect-targets Fixed #704: Fix get_target_from_rustc for alpine (#705) 2023-01-16 10:57:53 +11:00
detect-wasi Migrate CI and builds to Just, add "full" builds (#660) 2023-01-08 16:27:36 +11:00
fs-lock release: fs-lock v0.1.0 (#339) 2022-09-04 16:04:52 +00:00
normalize-path release: normalize-path v0.2.0 (#509) 2022-11-04 17:30:21 +11:00