Skip to content

Relax check-blobs check #331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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