diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-20 11:44:48 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-20 11:44:48 +0000 |
| commit | bfe2e75d7e3b372e55369677028429990c49bc54 (patch) | |
| tree | b64b0e999b428f7740c0cd2c4ec05d51a213ddd9 /tools/driver/StandardLibrary.h | |
| parent | a3335110dc4f1283cf1680e273cc9775b7e8c8ac (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'tools/driver/StandardLibrary.h')
| -rw-r--r-- | tools/driver/StandardLibrary.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <string> +#include <vector> + +// Extracted files live through native linking and runner execution. +class StandardLibrary { + llvm::SmallString<256> Directory; +public: + ~StandardLibrary(); + bool load(std::vector<std::string> &Inputs); +}; |
