diff --git a/lang/rust/rust_environment.mk b/lang/rust/rust_environment.mk index 1033c75c922909..2fb39c50673ebc 100644 --- a/lang/rust/rust_environment.mk +++ b/lang/rust/rust_environment.mk @@ -18,6 +18,6 @@ ifeq ($(ARCH),"arm") endif ifeq ($(CONFIG_HAS_FPU),y) - RUSTC_TARGET_ARCH:=$(subst muslgnueabi,muslgnueabihf,$(RUSTC_TARGET_ARCH)) + RUSTC_TARGET_ARCH:=$(subst musleabi,musleabihf,$(RUSTC_TARGET_ARCH)) endif endif