diff --git a/src/cli/pkg.c b/src/cli/pkg.c index 4c0dd4aa..344f2ce3 100644 --- a/src/cli/pkg.c +++ b/src/cli/pkg.c @@ -1887,7 +1887,7 @@ static int cmd_trust(const char **pkgs, int count, bool all) { C_GREEN, to_run_count, C_RESET, to_run_count == 1 ? "" : "s"); - if (!pkg_verbose) progress_start(&progress, "Building"); + if (!pkg_verbose) progress_start(&progress, "⚙️ Building"); pkg_error_t run_err = pkg_run_postinstall(ctx, "node_modules", to_run, to_run_count); if (!pkg_verbose) progress_stop(&progress); diff --git a/vendor/packagefiles/wasm-micro-runtime/core/iwasm/common/arch/invokeNative_darwin.S b/vendor/packagefiles/wasm-micro-runtime/core/iwasm/common/arch/invokeNative_darwin.S new file mode 100644 index 00000000..dfc0902e --- /dev/null +++ b/vendor/packagefiles/wasm-micro-runtime/core/iwasm/common/arch/invokeNative_darwin.S @@ -0,0 +1,15 @@ +#if defined(BUILD_TARGET_AARCH64) +#if WASM_ENABLE_SIMD != 0 +#include "invokeNative_aarch64_simd.s" +#else +#include "invokeNative_aarch64.s" +#endif +#elif defined(BUILD_TARGET_X86_64) || defined(BUILD_TARGET_AMD_64) +#if WASM_ENABLE_SIMD != 0 +#include "invokeNative_em64_simd.s" +#else +#include "invokeNative_em64.s" +#endif +#else +#error "unsupported darwin build target" +#endif diff --git a/vendor/packagefiles/wasm-micro-runtime/meson.build b/vendor/packagefiles/wasm-micro-runtime/meson.build index aab66989..c1b4a3ae 100644 --- a/vendor/packagefiles/wasm-micro-runtime/meson.build +++ b/vendor/packagefiles/wasm-micro-runtime/meson.build @@ -158,7 +158,7 @@ wamr_sources += files( ) if wamr_platform == 'darwin' - wamr_sources += files('core/iwasm/common/arch/invokeNative_general.c') + wamr_sources += files('core/iwasm/common/arch/invokeNative_darwin.S') elif host_machine.cpu_family() == 'aarch64' wamr_sources += files(wamr_enable_simd ? 'core/iwasm/common/arch/invokeNative_aarch64_simd.s' : 'core/iwasm/common/arch/invokeNative_aarch64.s') elif host_machine.cpu_family() == 'x86_64'