Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into v0.5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
rewrking committed Sep 28, 2022
2 parents 9db5adf + 8aa74f1 commit b64a5e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/State/CentralState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ bool CentralState::initialize()
// return false;

{
m_inputs.detectToolchainPreference();

// Set global defaults here
IntermediateSettingsState state;
state.maxJobs = std::thread::hardware_concurrency();
Expand Down Expand Up @@ -89,6 +87,9 @@ bool CentralState::initialize()
return false;
}

// If no toolchain was found in inputs or settings, use the default
m_inputs.detectToolchainPreference();

m_filename = m_inputs.inputFile();
m_inputs.clearWorkingDirectory(m_filename);

Expand Down

0 comments on commit b64a5e3

Please sign in to comment.