mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: do not use LuaJIT in riscv64 and loongarch64 architecture (#439)
This commit is contained in:
parent
1d1a512710
commit
a771308782
1 changed files with 6 additions and 1 deletions
|
|
@ -16,7 +16,12 @@ yazi-shared = { path = "../yazi-shared", version = "0.1.5" }
|
||||||
# External dependencies
|
# External dependencies
|
||||||
ansi-to-tui = "^3"
|
ansi-to-tui = "^3"
|
||||||
anyhow = "^1"
|
anyhow = "^1"
|
||||||
mlua = { version = "^0", features = [ "luajit52", "vendored", "serialize" ] }
|
|
||||||
ratatui = "^0"
|
ratatui = "^0"
|
||||||
tracing = { version = "^0", features = [ "max_level_debug", "release_max_level_warn" ] }
|
tracing = { version = "^0", features = [ "max_level_debug", "release_max_level_warn" ] }
|
||||||
unicode-width = "^0"
|
unicode-width = "^0"
|
||||||
|
|
||||||
|
[target.'cfg(any(target_arch = "riscv64", target_arch="loongarch64"))'.dependencies]
|
||||||
|
mlua = { version = "^0", features = [ "lua52", "vendored", "serialize" ] }
|
||||||
|
|
||||||
|
[target.'cfg(not(any(target_arch = "riscv64", target_arch="loongarch64")))'.dependencies]
|
||||||
|
mlua = { version = "^0", features = [ "luajit52", "vendored", "serialize" ] }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue