Skip to content

Commit

Permalink
Fix rust-src
Browse files Browse the repository at this point in the history
  • Loading branch information
declantsien committed Jun 3, 2024
1 parent b0d1b3d commit 190a3e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion guix/rustup/build/toolchain.scm
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,11 @@
(targets (cdr binary))
(host-target
(find (lambda (target)
(equal? (car target) host-triplet)) (cdr binary))))
(member
(car target)
(list (%rustc-target-triplets->position 'all)
host-triplet))) (cdr binary))))

(and (member (car binary) aggregated-components)
host-target
`(,component-name-index ,@host-target))))
Expand Down

0 comments on commit 190a3e4

Please sign in to comment.