-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: Repository::new_named_item duplicate check on aarch64
Tests pertaining to duplicate name fail in debug mode on aarch64, the OS error is never returned. Solution: use FastISel instead of GlobalISel Tracking issue has been filed with Rust: rust-lang/rust#50516
- Loading branch information
Showing
10 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://github.com/rust-lang/rust/issues/50516 | ||
[target.'cfg(all(debug_assertions, target_arch = "aarch64"))'] | ||
rustflags = ["-C", "llvm-args=-fast-isel"] |
1 change: 1 addition & 0 deletions
1
.sit/items/ed4bbb0c-2973-4de1-b5f8-648d3011ae86/2UT54I7HQDVAOTKROJO5XHKPAETRWMQF/.authors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Yurii Rashkovskii <me@yrashk.com> |
1 change: 1 addition & 0 deletions
1
.sit/items/ed4bbb0c-2973-4de1-b5f8-648d3011ae86/2UT54I7HQDVAOTKROJO5XHKPAETRWMQF/.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2018-05-07T20:16:50.974Z |
Empty file.
1 change: 1 addition & 0 deletions
1
.sit/items/ed4bbb0c-2973-4de1-b5f8-648d3011ae86/2UT54I7HQDVAOTKROJO5XHKPAETRWMQF/text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Problem: workaround for std::fs:create_dir not failing on existing directory on aarch64, debug |
1 change: 1 addition & 0 deletions
1
.sit/items/ed4bbb0c-2973-4de1-b5f8-648d3011ae86/JESGGRQLIKCQCF4OKGNVXQSMMWLDBHQW/.authors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Yurii Rashkovskii <me@yrashk.com> |
Empty file.
1 change: 1 addition & 0 deletions
1
.sit/items/ed4bbb0c-2973-4de1-b5f8-648d3011ae86/JESGGRQLIKCQCF4OKGNVXQSMMWLDBHQW/.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2018-05-07T20:16:50.974Z |
Empty file.
5 changes: 5 additions & 0 deletions
5
.sit/items/ed4bbb0c-2973-4de1-b5f8-648d3011ae86/JESGGRQLIKCQCF4OKGNVXQSMMWLDBHQW/text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
std::fs::create_dir does not fail on existing directory on aarch64, when built in debug, leading to failing tests and change in behavior (item with the same name can be created more than once). This issue has been resolved with a workaround handling this special case specifically in this configuration. | ||
|
||
However, this is not the most beautiful solution. | ||
|
||
Tracking issue filed with Rust: https://github.com/rust-lang/rust/issues/50516 |