github-actions[bot]
08cf94c5bf
chore: release ( #2095 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-19 15:24:05 +00:00
Jiahao XU
028b24de4d
Fix clippy warnings for detect-targets and binstalk-downloader ( #2098 )
...
binstalk-downloader clippy warning is specific to windows
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2025-03-19 14:19:43 +00:00
github-actions[bot]
e2ef5918cf
chore: release ( #2080 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-15 03:38:12 +00:00
dependabot[bot]
ed23038614
build(deps): bump tokio from 1.43.0 to 1.44.0 in the deps group ( #2079 )
...
Bumps the deps group with 1 update: [tokio](https://github.com/tokio-rs/tokio ).
Updates `tokio` from 1.43.0 to 1.44.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.44.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-08 02:18:01 +00:00
github-actions[bot]
b243c176fe
chore: release ( #2073 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-07 13:49:46 +00:00
Jiahao XU
92973c1392
Fix detect-targets musl fallback for android and alpine ( #2076 )
...
Android does not have `-unknown-` in target and alpine uses
`-alpine-` instead of `-unknown-`, so the musl fallback must be
taken special care when generating
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2025-03-06 19:56:49 +00:00
github-actions[bot]
708a489062
chore: release ( #2067 )
...
Release-plz / Release-plz (push) Waiting to run
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-28 11:55:33 +00:00
github-actions[bot]
f71ab715ab
chore: release ( #2061 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-22 15:38:19 +00:00
github-actions[bot]
cdc492db98
chore: release ( #2051 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-15 08:22:41 +00:00
github-actions[bot]
8a18d5f024
chore: release ( #2040 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-11 16:10:36 +00:00
github-actions[bot]
a3f88b5cbf
chore: release ( #2031 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-04 21:30:08 +00:00
github-actions[bot]
bd6f0c6b14
chore: release ( #2027 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-19 02:58:41 +00:00
github-actions[bot]
9d2dbb3dff
chore: release ( #2023 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-13 13:41:19 +00:00
github-actions[bot]
c6a51aaf3e
chore: release ( #2014 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-11 04:00:58 +00:00
github-actions[bot]
158fb2fb14
chore: release ( #2009 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-04 02:16:37 +00:00
github-actions[bot]
f1f4d98da7
chore: release ( #2001 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-28 01:33:57 +00:00
github-actions[bot]
7604d8d286
chore: release ( #1996 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-14 05:14:05 +00:00
github-actions[bot]
c8e29f204e
chore: release ( #1992 )
...
* chore: release
* Apply suggestions from code review
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-12-07 04:55:43 +00:00
github-actions[bot]
b78dfd2890
chore: release ( #1986 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-29 10:13:39 +00:00
github-actions[bot]
d0e37e3ce9
chore: release ( #1980 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-23 03:46:10 +00:00
github-actions[bot]
10a53e7bfb
chore: release ( #1972 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-18 08:29:17 +00:00
github-actions[bot]
3677ac112d
chore: release ( #1965 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-09 07:22:29 +00:00
github-actions[bot]
674f04f95f
chore: release ( #1958 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-05 12:18:49 +00:00
github-actions[bot]
8644e54e84
chore: release ( #1944 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-02 01:25:13 +00:00
github-actions[bot]
afd20e9396
chore: release ( #1937 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-26 01:49:47 +00:00
github-actions[bot]
a8227ae6a4
chore: release ( #1928 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-12 03:58:24 +00:00
github-actions[bot]
a7794f08a6
chore: release ( #1924 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-04 10:54:17 +00:00
github-actions[bot]
4a15b12fd1
chore: release ( #1916 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-22 08:59:21 +00:00
github-actions[bot]
89203c196c
chore: release ( #1902 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-06 13:37:48 +00:00
github-actions[bot]
05bfcbce0e
chore: release ( #1883 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-25 08:37:25 +00:00
github-actions[bot]
53512b9271
chore: release ( #1870 )
...
* chore: release
* Bump dependents of binstall-types to next major version
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-10 07:46:44 +00:00
github-actions[bot]
cf7c8f9656
chore: release ( #1853 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-04 03:04:47 +00:00
dependabot[bot]
cdbb121112
build(deps): bump the deps group across 1 directory with 2 updates ( #1859 )
...
* build(deps): bump the deps group across 1 directory with 2 updates
Bumps the deps group with 2 updates in the / directory: [fs4](https://github.com/al8n/fs4-rs ) and [windows-sys](https://github.com/microsoft/windows-rs ).
Updates `fs4` from 0.8.4 to 0.9.1
- [Release notes](https://github.com/al8n/fs4-rs/releases )
- [Commits](https://github.com/al8n/fs4-rs/commits )
Updates `windows-sys` from 0.52.0 to 0.59.0
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.52.0...0.59.0 )
---
updated-dependencies:
- dependency-name: fs4
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: windows-sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix use of fs4
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix windows.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Rm drop impl for LibraryHandle
As unmounting dynlib might cause UB
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix clippy in windows.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-03 05:03:10 +00:00
github-actions[bot]
27bc4a2d2a
release: detect-targets v0.1.17 ( #1682 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-05-03 00:29:20 +00:00
Jiahao XU
6ef3b665f4
Fix clippy lint error in 1.78.0 ( #1679 )
...
* Bump msrv of binstalk-downloader to 1.70.0
* Fix trait bound in multiple places
for copy_file_to_mpsc
* Rm super-trait trait bounds for FusedStream
* Bump detect-targets msrv to 1.62.0
* Bump cargo-binstall msrv to 1.70.0
2024-05-02 23:03:12 +00:00
github-actions[bot]
65a3c2c918
release: detect-targets v0.1.16 ( #1674 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-05-02 09:02:44 +00:00
Jiahao XU
fe2a4d8b0c
Remove dep windows-dll and replace it with manual loading ( #1658 )
...
Fixed #1629
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-04-06 02:08:10 +00:00
github-actions[bot]
0c74d017f9
release: detect-targets v0.1.15 ( #1579 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-01-20 06:16:31 +00:00
Jiahao XU
8befa3d649
Fix detect-targets on android targets ( #1576 )
...
* Fix detect-targets on android targets
By enabling linux fallback on Android.
Also add CI regression test for aarch64-linux-android target.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix CI: Add job `detect-targets-android-check` as required for merging
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-15 23:02:40 +00:00
Félix Saparelli
d02776c7fc
detect-target: fallback on targets we don't explicitly have support for ( #1574 )
...
See #1573
2024-01-14 11:59:24 +00:00
dependabot[bot]
b2ddd176e3
build(deps): bump the deps group with 2 updates ( #1516 )
...
Bumps the deps group with 2 updates: [tokio](https://github.com/tokio-rs/tokio ) and [gix](https://github.com/Byron/gitoxide ).
Updates `tokio` from 1.34.0 to 1.35.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.34.0...tokio-1.35.0 )
Updates `gix` from 0.55.2 to 0.56.0
- [Release notes](https://github.com/Byron/gitoxide/releases )
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.55.2...gix-v0.56.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: gix
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-09 01:29:41 +00:00
github-actions[bot]
47d573fd2d
release: detect-targets v0.1.14 ( #1504 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-18 05:20:55 +00:00
dependabot[bot]
a62f22050b
build(deps): bump the deps group with 4 updates ( #1502 )
...
Bumps the deps group with 4 updates: [windows](https://github.com/microsoft/windows-rs ), [itertools](https://github.com/rust-itertools/itertools ), [default-net](https://github.com/shellrow/default-net ) and [windows-sys](https://github.com/microsoft/windows-rs ).
Updates `windows` from 0.51.1 to 0.52.0
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.51.1...0.52.0 )
Updates `itertools` from 0.11.0 to 0.12.0
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0 )
Updates `default-net` from 0.20.0 to 0.21.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.20.0...v0.21.0 )
Updates `windows-sys` from 0.48.0 to 0.52.0
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.48.0...0.52.0 )
---
updated-dependencies:
- dependency-name: windows
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: default-net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: windows-sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-18 03:04:12 +00:00
dependabot[bot]
4de2d0f49c
build(deps): bump the deps group with 6 updates ( #1465 )
...
Bumps the deps group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [tracing](https://github.com/tokio-rs/tracing ) | `0.1.37` | `0.1.39` |
| [async-compression](https://github.com/Nullus157/async-compression ) | `0.4.3` | `0.4.4` |
| [flate2](https://github.com/rust-lang/flate2-rs ) | `1.0.27` | `1.0.28` |
| [zstd](https://github.com/gyscos/zstd-rs ) | `0.12.4` | `0.13.0` |
| [default-net](https://github.com/shellrow/default-net ) | `0.17.0` | `0.18.0` |
| [gix](https://github.com/Byron/gitoxide ) | `0.54.1` | `0.55.2` |
Updates `tracing` from 0.1.37 to 0.1.39
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39 )
Updates `async-compression` from 0.4.3 to 0.4.4
- [Release notes](https://github.com/Nullus157/async-compression/releases )
- [Changelog](https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/async-compression/compare/async-compression-v0.4.3...async-compression-v0.4.4 )
Updates `flate2` from 1.0.27 to 1.0.28
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.27...1.0.28 )
Updates `zstd` from 0.12.4 to 0.13.0
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/compare/v0.12.4...v0.13.0 )
Updates `default-net` from 0.17.0 to 0.18.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.17.0...v0.18.0 )
Updates `gix` from 0.54.1 to 0.55.2
- [Release notes](https://github.com/Byron/gitoxide/releases )
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.54.1...gix-v0.55.2 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: async-compression
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: flate2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: zstd
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: default-net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: gix
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 10:01:27 +00:00
github-actions[bot]
45518cb65e
release: detect-targets v0.1.13 ( #1444 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 06:10:03 +00:00
Jiahao XU
8e08c65946
Fix fallback to cargo-install
: Use the default target unless user override ( #1430 )
...
* Fix fallback to `cargo-install`: Use the default target
which is guaranteed to work, instead of providing a custom `--target`
from `detect-targets`.
The one from `detect-targets` might report musl even if the `rustc`
reports gnu, since OSes like NixOS could use a custom glibc location
that prevent glibc binaries built for other OSes be run for them.
However, if we are compiling the crate and `rustc` defaults to glibc,
then it should be guaranteed to work.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Impl fn `DesiredTargets::get_initialized`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix fallback to `cargo-install`: Use user-provided override targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-30 00:22:21 +00:00
Jiahao XU
b56a8c3579
Fix detect-targets
glibc detection ( #1421 )
...
* Fix `detect-targets` glibc detection
Fixed #1420
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `detect-targets` glibc detection for Fedora
Fedora 37-39 has glibc installed in `/lib64` and `/usr/lib64` instead of
`/lib` or `/usr/lib`.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Improve caching in `detect-targets-alpine-test`
Make sure it reuses cached artifacts instead of recompiling everything.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Mv `test-detect-targets-musl.sh` into `.github/scripts/`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Refactor `ci.yml`: Extract new job `detect-targets-build`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* FIx `detect-targets-ubuntu-test`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Avoid building the entire workspacein `detect-targets-build`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `detect-targets-*-test`: `chmod +x detect-targets`
Also fixed testing on Alpine, to make sure it exits with status 1 on
assertion failure.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix typo
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Cache all crates in `detect-targets-build`
Since `detect-targets` rarely changes and is quite small, it is also
reasonable to cache it.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add job `detect-targets-more-glibc-test`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add `detect-targets-nix-test`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `detect-targets-nix-test` executing `detect-targets`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix workflow: Add all `detect-targets-*` jobs to be dep of `tests-pass`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-29 23:46:03 +00:00
github-actions[bot]
df74a0d4f6
release: detect-targets v0.1.12 ( #1395 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 11:38:37 +00:00
Tamir Duberstein
2db8e254bc
Investigate incorrect target detection ( #1376 )
...
* detect-targets: add debug tracing
See #1375 .
* Add new feature `tracing` & `cli-tracing` to `detect-targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix clippy lints
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-23 10:45:44 +00:00
Jiahao XU
efbd20857b
Fix detect-targets
on ubuntu 20.04, glibc 2.31 ( #1379 )
...
* Fix `detect-targets` on ubuntu 20.04, glibc 2.31
Fixed #1375 and fixed #1378
glibc 2.31 does not support `--version`, so we need to detect and
fallback to passing an executable linked with that glibc to check if it
is indeed glibc.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix compilation faillure on ubuntu-20.04
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-22 23:55:12 +00:00