Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions xtask/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ pub fn check_blobs() {
let mut files_before = BTreeMap::new();
for entry in fs::read_dir("bin").unwrap() {
let entry = entry.unwrap();
if entry.path().extension().unwrap() == "a" {
// Only check -lto.a files since those have the same symbol order between Linux and macOS
if entry.path().to_str().unwrap().ends_with("-lto.a") {
files_before.insert(
entry
.path()
Expand All @@ -178,7 +179,8 @@ pub fn check_blobs() {
let mut files_after = BTreeMap::new();
for entry in fs::read_dir("bin").unwrap() {
let entry = entry.unwrap();
if entry.path().extension().unwrap() == "a" {
// Only check -lto.a files since those have the same symbol order between Linux and macOS
if entry.path().to_str().unwrap().ends_with("-lto.a") {
files_after.insert(
entry
.path()
Expand Down