Skip to content

Commit

Permalink
Merge pull request #131 from rust-cross/clang-backend
Browse files Browse the repository at this point in the history
Add clang support
  • Loading branch information
messense authored Dec 21, 2024
2 parents d4d05d1 + 71e4ddb commit a286b15
Show file tree
Hide file tree
Showing 9 changed files with 875 additions and 450 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain: [stable, nightly]
cross-compiler: [clang-cl, clang]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
XWIN_CROSS_COMPILER: ${{ matrix.cross-compiler }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
Expand Down
69 changes: 65 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 22 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,41 @@ pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }.{ targe
anyhow = "1.0.53"
cargo-config2 = "0.1.4"
cargo-options = "0.7.1"
clap = { version = "4.3.0", features = ["derive", "env", "wrap_help", "unstable-styles"] }
clap = { version = "4.3.0", features = [
"derive",
"env",
"wrap_help",
"unstable-styles",
] }
dirs = "5.0.0"
fs-err = "3.0.0"
indicatif = "0.17.2"
native-tls-crate = { package = "native-tls", version = "0.2.11", optional = true }
paste = "1.0.12"
path-slash = "0.2.0"
rustls = { version = "0.23.10", default-features = false, features = ["std", "tls12", "logging", "ring"], optional = true }
rustls = { version = "0.23.10", default-features = false, features = [
"std",
"tls12",
"logging",
"ring",
], optional = true }
rustls-pemfile = { version = "2.0.0", optional = true }
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.133"
tar = "0.4.43"
tracing-subscriber = { version = "0.3.17", features = ["fmt"] }
ureq = { version = "2.11.0", default-features = false, features = ["gzip", "socks-proxy"] }
ureq = { version = "2.11.0", default-features = false, features = [
"gzip",
"json",
"socks-proxy",
] }
which = "7.0.0"
xwin = { version = "0.6.3", default-features = false }
xz2 = "0.1.7"

[features]
# By default we use rustls for TLS
default = ["rustls-tls"]
default = ["rustls-tls", "xz2/static"]
rustls-tls = ["ureq/tls", "rustls", "rustls-pemfile"]
# If this feature is enabled we instead use the native TLS implementation for the
# target platform
Expand Down
Loading

0 comments on commit a286b15

Please sign in to comment.