Skip to content

Commit

Permalink
chore: remove zlib-ng workaround for loongarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 22, 2024
1 parent b4e53c7 commit b0e7d54
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 26 deletions.
13 changes: 0 additions & 13 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ Steps (as root):

Arch-specific notes:

- Add `--no-default-features --features gix-faster` to cargo for loongarch64 until libz-ng support lands
- Add `RUSTFLAGS="-C link-arg=-fuse-ld=gold"` environment for loongson3
13 changes: 1 addition & 12 deletions buildit-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,9 @@ octocrab = "0.35.0"
jsonwebtoken = "9"
anyhow = "1"
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread", "process", "sync", "fs"] }
gix = { version = "0.58", default-features = false, features = ["max-performance-safe", "revision"] }
gix-features = { version = "0.38.0", optional = true }
gix = { version = "0.58", default-features = false, features = ["max-performance", "revision"] }
walkdir = "2.4.0"
abbs-meta-apml = { git = "https://github.com/AOSC-Dev/abbs-meta-rs", package = "abbs-meta-apml", rev = "4a592937b44e8bb93103edd34eff384169a3248a" }
fancy-regex = "0.13"
thiserror ="1.0"
tracing = "0.1.40"

[features]
default = ["gix-max-perf"]
# Enables most of the `max-performance` features of the `gix` module for better performance.
# This can be more difficult to build in some conditions and requires cmake.
gix-max-perf = ["gix-features/zlib-ng", "gix/fast-sha1"]
# Slower than `git-repository-max-perf`, but better than the default.
# Unlike `git-repository-max-perf` this does not require cmake and allows dynamic zlib linking.
gix-faster = ["gix-features/zlib-stock", "gix/fast-sha1"]

0 comments on commit b0e7d54

Please sign in to comment.