diff --git a/implementations/Crafter.Build-Command.cpp b/implementations/Crafter.Build-Command.cpp index 8ea637e..d7f472f 100644 --- a/implementations/Crafter.Build-Command.cpp +++ b/implementations/Crafter.Build-Command.cpp @@ -299,7 +299,6 @@ namespace Crafter { BuildWasmStdPcm(project, config); } else { std::cout << config.target << std::endl; - std::cout << "x86_64-pc-windows-msvc" << std::endl; throw std::runtime_error(std::format("Unkown target: {}", config.target)); } } diff --git a/implementations/Crafter.Build-Project.cpp b/implementations/Crafter.Build-Project.cpp index 0399143..c77c637 100644 --- a/implementations/Crafter.Build-Project.cpp +++ b/implementations/Crafter.Build-Project.cpp @@ -240,9 +240,7 @@ namespace Crafter { fs::path exeDir = GetPath(); - std::cout << "before pcm" << std::endl; BuildStdPcm(*this, config); - std::cout << "after pcm" << std::endl; std::string editedTarget = config.target; std::replace(editedTarget.begin(), editedTarget.end(), '-', '_'); @@ -333,8 +331,6 @@ namespace Crafter { std::vector resultsDep(config.dependencies.size()); - std::cout << "bruh 5" << std::endl; - for(std::uint_fast32_t i = 0; i < depThreads.size(); i++) { depThreads[i] = std::thread([i, &config, &libMutex, &depLibSet, &buildDir, &pcmDir, &libsString, &binDir, this, &buildResult, &resultsDep](){ for(Configuration& config2 : std::get<0>(config.dependencies[i])->configurations) { @@ -370,8 +366,6 @@ namespace Crafter { return buildResult; } - std::cout << "bruh 7" << std::endl; - for(const fs::path& cFile: config.c_files) { files+=std::format(" {}_source.o ",(buildDir/cFile.filename()).string()); @@ -425,15 +419,11 @@ namespace Crafter { buildResult.errors += result2; } - if(!buildResult.errors.empty()) { fileThread.join(); return buildResult; } - std::cout << "bruh 8" << std::endl; - - if(config.target != "wasm32-wasi") { command += " -L/usr/local/lib"; }