Isolate managed precompile race validation
This commit is contained in:
@@ -1644,6 +1644,12 @@ int precompile_unit_generation()
|
||||
{
|
||||
f64 started_at = time_precise();
|
||||
server_state.config = make_server_settings();
|
||||
const char* precompile_files_in = getenv("UCE_PRECOMPILE_FILES_IN");
|
||||
if(precompile_files_in && precompile_files_in[0] != '\0')
|
||||
server_state.config["PRECOMPILE_FILES_IN"] = precompile_files_in;
|
||||
const char* precompile_bin_directory = getenv("UCE_PRECOMPILE_BIN_DIRECTORY");
|
||||
if(precompile_bin_directory && precompile_bin_directory[0] != '\0')
|
||||
server_state.config["BIN_DIRECTORY"] = precompile_bin_directory;
|
||||
server_state.config["COMPILER_SYS_PATH"] = cwd_get();
|
||||
Request background_context;
|
||||
background_context.server = &server_state;
|
||||
|
||||
Reference in New Issue
Block a user