Provide record initialization syntax

This commit is contained in:
2025-02-13 22:54:47 +01:00
parent 62d9398772
commit c564847c6b
7 changed files with 115 additions and 56 deletions

View File

@ -15,7 +15,7 @@ class BuildTarget
attr_accessor(:build, :gcc, :sysroot, :tmp)
def initialize
@sysroot = '/'
@sysroot = Pathname.new '/'
end
def gxx
@ -55,7 +55,7 @@ def find_build_target(gcc_version)
end
end
result.tmp = TMP
result.sysroot = sdk
result.sysroot = sdk unless sdk.nil?
result
end