From 635adbd348f8244c66c2faf27db16c8a556aec42 Mon Sep 17 00:00:00 2001 From: Ge Wang Date: Fri, 1 Nov 2024 00:51:44 -0700 Subject: [PATCH] disable chugin probe recursive search --- VERSIONS | 1 + src/core/chuck.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSIONS b/VERSIONS index c6a87b99a..667e59b36 100644 --- a/VERSIONS +++ b/VERSIONS @@ -78,6 +78,7 @@ ChucK VERSIONS log of by Object refs) - (updated, internal) dynamic array types are now cached and reused, preventing potential memory build-up across compilations +- (updated) chugin probe no longer recursively crawl directories - (updated) variable dependency check now treats sporked functions same as function calls; unfulfilled dependencies will result in a compiler error; previously, correctness in this regard was left to the diff --git a/src/core/chuck.cpp b/src/core/chuck.cpp index b0d8ee04b..f7c87da04 100644 --- a/src/core/chuck.cpp +++ b/src/core/chuck.cpp @@ -851,8 +851,8 @@ void ChucK::probeChugins() extension = "chug.wasm"; #endif - // load external libs - if( !Chuck_Compiler::probe_external_modules( extension.c_str(), dl_search_path, named_dls, TRUE, ck_libs_to_preload ) ) + // load external libs; recurse changed to FALSE in 1.5.4.0 (ge) + if( !Chuck_Compiler::probe_external_modules( extension.c_str(), dl_search_path, named_dls, FALSE, ck_libs_to_preload ) ) { // warning EM_log( CK_LOG_SYSTEM, "error probing chugins..." );