From 46badbe70a36bb3cb5d86bd9f33aa5481c9709b9 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 28 May 2025 14:33:48 +0200 Subject: feat!: update the kernel codegen to output bit width and origin. refactor!: refactor codebase, breaking changes. Signed-off-by: Amlal El Mahrouss --- tools/cxxdrv.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/cxxdrv.cc b/tools/cxxdrv.cc index a6f12ee..bc790ff 100644 --- a/tools/cxxdrv.cc +++ b/tools/cxxdrv.cc @@ -9,9 +9,9 @@ #include #include -#include -#include +#include #include +#include static auto kPath = "/usr/local/lib/libCompiler.dylib"; @@ -21,11 +21,12 @@ Int32 main(Int32 argc, CharType const* argv[]) { if (!handler) { kStdOut; std::printf("error: Could not load dylib in %s: %s\n", kPath, dlerror()); - + return EXIT_FAILURE; } - LibCompilerEntrypoint entrypoint_cxx = (LibCompilerEntrypoint)dlsym(handler, "CompilerCPlusPlusAMD64"); + LibCompilerEntrypoint entrypoint_cxx = + (LibCompilerEntrypoint) dlsym(handler, "CompilerCPlusPlusAMD64"); if (!entrypoint_cxx) { kStdOut; -- cgit v1.2.3