Skip to content

Commit

Permalink
Don't warn about `target_arch = "xtensa". (#128)
Browse files Browse the repository at this point in the history
* Don't warn about `target_arch = "xtensa".

* Update LLVM version.
  • Loading branch information
sunfishcode authored Aug 15, 2024
1 parent 364c767 commit 9b393f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ jobs:
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository -y 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main'
sudo apt install libclang-dev
cd gen && LD_LIBRARY_PATH=/usr/lib/llvm-19/lib cargo run --release
cd gen && LD_LIBRARY_PATH=/usr/lib/llvm-20/lib cargo run --release
git diff --exit-code
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ libc = "0.2.100"
features = ["default", "bootparam", "ioctl", "netlink", "io_uring", "if_arp", "if_ether", "if_packet", "net", "prctl", "elf", "xdp", "mempolicy", "system", "loop_device"]
targets = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]

[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = [
'cfg(target_arch, values("xtensa"))',
]

# The rest of this file is auto-generated!
[features]
bootparam = []
Expand Down

0 comments on commit 9b393f0

Please sign in to comment.