1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ast: minor cleanup in pref_arch_to_table_language() (#13714)

This commit is contained in:
yuyi 2022-03-11 20:56:48 +08:00 committed by GitHub
parent 8dc4b1d9a3
commit 10ab758aa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,28 +46,28 @@ pub enum Language {
pub fn pref_arch_to_table_language(pref_arch pref.Arch) Language {
return match pref_arch {
.amd64 {
Language.amd64
.amd64
}
.arm64 {
Language.arm64
.arm64
}
.arm32 {
Language.arm32
.arm32
}
.rv64 {
Language.rv64
.rv64
}
.rv32 {
Language.rv32
.rv32
}
.i386 {
Language.i386
.i386
}
.js_node, .js_browser, .js_freestanding {
Language.js
.js
}
._auto, ._max {
Language.v
.v
}
}
}