mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix reqwest build on Linux again
This commit is contained in:
parent
d73852f272
commit
6fe6570da3
1 changed files with 7 additions and 2 deletions
|
@ -159,10 +159,15 @@ rust_test(
|
|||
"//rslib/cargo:futures",
|
||||
"//rslib/cargo:itertools",
|
||||
"//rslib/cargo:linkcheck",
|
||||
"//rslib/cargo:reqwest",
|
||||
"//rslib/cargo:strum",
|
||||
"//rslib/cargo:tokio",
|
||||
],
|
||||
] + select({
|
||||
# rustls on Linux
|
||||
"//platforms:linux_x86_64": ["@reqwest_rustls//:reqwest"],
|
||||
"//platforms:linux_arm64": ["@reqwest_rustls//:reqwest"],
|
||||
# native tls on other platforms
|
||||
"//conditions:default": ["//rslib/cargo:reqwest"],
|
||||
}),
|
||||
)
|
||||
|
||||
rustfmt_test(
|
||||
|
|
Loading…
Reference in a new issue