package/zellij: drop explicit architecture dependencies
PATCH 1/1 package/zellij: drop explicit architecture dependencies
The strict architecture limitation was caused by the cranelift code generator, which is part of wasmtime.
Zellij 0.44.0 migrated from wasmtime to wasmi [1], so cranelift is no longer used. This allows relaxing the architecture dependencies and building the package on more architectures.
However, zellij unconditionally uses AtomicU64, so add a dependency on BR2_PACKAGE_HOST_RUSTC_TARGET_HAS_ATOMIC_U64.
Tested with test-pkg, which shows that the package can now be built for more targets:
Before:
32 builds, 26 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
After:
32 builds, 20 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
[1] https://github.com/zellij-org/zellij/pull/4449
--- package/zellij/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
package/zellij/Config.in +2 -4
@@ -1,10 +1,8 @@ config BR2_PACKAGE_ZELLIJ bool "zellij" - # Zellij uses the cranelift crate which has architecure - # dependencies. Specify them explicitly. See details here: - # https://docs.rs/cranelift-codegen/0.122.0/cranelift_codegen/ - depends on BR2_x86_64 || BR2_x86_i686 || BR2_aarch64 depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + # zellij unconditionally uses AtomicU64 + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_HAS_ATOMIC_U64 select BR2_PACKAGE_HOST_RUSTC help An advanced terminal multiplexer with batteries included.
Signature · 6 lines
2.56.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot