Skip to content

Commit 4fa46df

Browse files
committed
Update list of possible triple parts.
1 parent 3496236 commit 4fa46df

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
99
* Fix initial installation when `rustup::global` has `ensure => latest`.
1010
* Added `toolchain` and `target` parameters to `rustup::global` to match what’s
1111
in the README.
12+
* Update list of possible targets to match Rust.
1213
* Fixed a few spelling mistakes.
1314

1415
[PDK]: https://www.puppet.com/docs/pdk/latest/pdk.html

lib/puppet_x/rustup/provider/collection/toolchains.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ def parse_partial(input)
111111
"i386",
112112
"i586",
113113
"i686",
114+
"loongarch32",
114115
"loongarch64",
115116
"m68k",
116117
"mips",
@@ -138,6 +139,7 @@ def parse_partial(input)
138139
"riscv32imafc",
139140
"riscv32imc",
140141
"riscv64",
142+
"riscv64a23",
141143
"riscv64gc",
142144
"riscv64imac",
143145
"s390x",
@@ -208,6 +210,8 @@ def parse_partial(input)
208210
"unknown-illumos",
209211
"unknown-l4re",
210212
"unknown-linux",
213+
"unknown-managarm",
214+
"unknown-motor",
211215
"unknown-netbsd",
212216
"unknown-none",
213217
"unknown-nto",
@@ -220,10 +224,12 @@ def parse_partial(input)
220224
"unknown-unknown",
221225
"unknown-xous",
222226
"uwp-windows",
227+
"vex-v5",
223228
"wali-linux",
224229
"wasip1",
225230
"wasip1-threads",
226231
"wasip2",
232+
"wasip3",
227233
"win7-windows",
228234
"wrs-vxworks",
229235
].join('|')
@@ -245,6 +251,7 @@ def parse_partial(input)
245251
"gnuspe",
246252
"gnux32",
247253
"macabi",
254+
"mlibc",
248255
"msvc",
249256
"musl",
250257
"muslabi64",

0 commit comments

Comments
 (0)