Skip to content

Commit 6f0dd80

Browse files
authored
Recognize mlibc environment (#1488)
1 parent d3c85ef commit 6f0dd80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/target/parser.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ fn parse_envabi(last_component: &str) -> Option<(&str, &str)> {
221221
"qnx800" => ("nto80", ""),
222222
"sgx" => ("sgx", ""),
223223
"threads" => ("threads", ""),
224+
"mlibc" => ("mlibc", ""),
224225

225226
// ABIs
226227
"abi64" => ("", "abi64"),
@@ -463,6 +464,7 @@ mod tests {
463464
"x86_64-foxkit-linux-musl",
464465
"arm-poky-linux-gnueabi",
465466
"x86_64-unknown-moturus",
467+
"x86_64-unknown-managarm-mlibc",
466468
];
467469

468470
for target in targets {

0 commit comments

Comments
 (0)