From: "MSP-Greg (Greg L)" Date: 2022-11-17T17:00:28+00:00 Subject: [ruby-core:110799] [Ruby master Bug#19133] mswin build - missing RbConfig::CONFIG['libdirname'] Issue #19133 has been updated by MSP-Greg (Greg L). @nobu Thanks. Exactly the same patch I started with, then changed to: ```ruby libdirname = RbConfig::CONFIG.fetch 'libdirname', 'libdir' # defined since 2.1 ``` I don't recall if I've built mswin locally, but the guard on this is: ```ruby return if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') # not working from the beginning ``` Which won't be triggered if it's local and ENV.key?('GITHUB_ACTIONS') isn't set. Regardless, am I to assume it won't be added to RbConfig::CONFIG? Probably better things to spend time on, given the date, as in ~ 5 weeks ---------------------------------------- Bug #19133: mswin build - missing RbConfig::CONFIG['libdirname'] https://bugs.ruby-lang.org/issues/19133#change-100155 * Author: MSP-Greg (Greg L) * Status: Feedback * Priority: Normal * ruby -v: ruby 3.2.0dev (2022-11-17T00:30:39Z master a777ec0d85) [x64-mswin64_140] * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- Key and value exists with Ubuntu & mingw/ucrt builds, missing in mswin build. Noticed when locally run spec test (`spec/ruby/optional/capi/rbasic_spec.rb`) failed. -- https://bugs.ruby-lang.org/ Unsubscribe: