Skip to content

Commit

Permalink
fix: do not use LuaJIT in riscv64 and loongarch64 architecture (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
eatradish authored Dec 10, 2023
1 parent 1d1a512 commit a771308
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion yazi-plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ yazi-shared = { path = "../yazi-shared", version = "0.1.5" }
# External dependencies
ansi-to-tui = "^3"
anyhow = "^1"
mlua = { version = "^0", features = [ "luajit52", "vendored", "serialize" ] }
ratatui = "^0"
tracing = { version = "^0", features = [ "max_level_debug", "release_max_level_warn" ] }
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" ] }

0 comments on commit a771308

Please sign in to comment.