From bfe2e75d7e3b372e55369677028429990c49bc54 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 20 Oct 2026 11:44:48 +0000 Subject: feat(driver): embed and automatically link the standard library Add -no-std to disable default library loading and linking. Co-Authored-By: Claude Opus 5.5 --- tools/driver/StandardLibrary.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tools/driver/StandardLibrary.h (limited to 'tools/driver/StandardLibrary.h') diff --git a/tools/driver/StandardLibrary.h b/tools/driver/StandardLibrary.h new file mode 100644 index 0000000..5aa4f8c --- /dev/null +++ b/tools/driver/StandardLibrary.h @@ -0,0 +1,12 @@ +#pragma once +#include "llvm/ADT/SmallString.h" +#include +#include + +// Extracted files live through native linking and runner execution. +class StandardLibrary { + llvm::SmallString<256> Directory; +public: + ~StandardLibrary(); + bool load(std::vector &Inputs); +}; -- cgit v1.3.1-4-g156e