From e3b771d7b6bba8e66b3d0c042ae88ffb98ca6f48 Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Sun, 26 Jan 2025 05:56:36 -0800 Subject: [PATCH] Revert "rust: Add new varaible RUST_ENABLE_EXTRA_TOOLS" This reverts commit 136a25567499191b23a4d000a06bf83a473224ca. Signed-off-by: Steve Sakoman --- meta/recipes-devtools/rust/rust_1.75.0.bb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meta/recipes-devtools/rust/rust_1.75.0.bb b/meta/recipes-devtools/rust/rust_1.75.0.bb index c33f31d261..76e1fe2d84 100644 --- a/meta/recipes-devtools/rust/rust_1.75.0.bb +++ b/meta/recipes-devtools/rust/rust_1.75.0.bb @@ -70,10 +70,6 @@ addtask do_test_compile after do_configure do_rust_gen_targets do_rust_setup_snapshot[dirs] += "${WORKDIR}/rust-snapshot" do_rust_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER" -# there is a need to enable some more rust tools for the project -# We can extend a list of more tools via this variable -RUST_ENABLE_EXTRA_TOOLS ?= "rust-demangler" - python do_configure() { import json import configparser @@ -145,7 +141,7 @@ python do_configure() { config.add_section("build") config.set("build", "submodules", e(False)) config.set("build", "docs", e(False)) - config.set("build", "tools", e(d.getVar("RUST_ENABLE_EXTRA_TOOLS").split())) + config.set("build", "tools", ["rust-demangler",]) rustc = d.expand("${WORKDIR}/rust-snapshot/bin/rustc") config.set("build", "rustc", e(rustc))