Skip to content

Commit

Permalink
Remove -musl from target_os of RbConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ryudoawaru committed Sep 29, 2024
1 parent f180e9e commit c1feb29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exe/thrust
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby

EXECUTE_PLATFORM = if RUBY_PLATFORM == 'java'
%w[target_cpu target_os].map { |m| RbConfig::CONFIG[m] }.join("-")
%w[target_cpu target_os].map { |m| RbConfig::CONFIG[m] }.join("-").gsub('-musl','')
else
[ :cpu, :os ].map { |m| Gem::Platform.local.send(m) }.join("-")
end
Expand Down

0 comments on commit c1feb29

Please sign in to comment.