Skip to content

Commit

Permalink
disable chugin probe recursive search
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed Nov 1, 2024
1 parent 75a98ba commit 635adbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions VERSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/core/chuck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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..." );
Expand Down

0 comments on commit 635adbd

Please sign in to comment.