Skip to content

Commit e74d9d6

Browse files
authored
[Rootfs] Fix matching of platforms when choosing shards (#95)
1 parent 8b700a7 commit e74d9d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rootfs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ function choose_shards(p::AbstractPlatform;
585585
else
586586
function find_latest_version(name)
587587
versions = [cs.version for cs in all_compiler_shards()
588-
if cs.name == name && cs.archive_type == archive_type && (something(cs.target, p) == p)
588+
if cs.name == name && cs.archive_type == archive_type && platforms_match(something(cs.target, p), p)
589589
]
590590
isempty(versions) && error("No latest shard found for $name")
591591
return maximum(versions)

0 commit comments

Comments
 (0)