From 6acff7a47d421730ad2fe8c642c990256d149e42 Mon Sep 17 00:00:00 2001 From: muit Date: Thu, 31 Aug 2023 00:07:30 +0200 Subject: [PATCH] Updated Pipe --- Libs/Backends/LLVM/Compiler/Src/LLVMBackend/Linker.cpp | 2 +- Libs/Pipe | 2 +- Libs/Runtimes/IO/Main.rf | 2 +- Libs/Runtimes/IO/Src/IO.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Libs/Backends/LLVM/Compiler/Src/LLVMBackend/Linker.cpp b/Libs/Backends/LLVM/Compiler/Src/LLVMBackend/Linker.cpp index 576de720..a9dfa21b 100644 --- a/Libs/Backends/LLVM/Compiler/Src/LLVMBackend/Linker.cpp +++ b/Libs/Backends/LLVM/Compiler/Src/LLVMBackend/Linker.cpp @@ -39,7 +39,7 @@ namespace rift::LLVM { case AST::RiftModuleTarget::Executable: command.Add("/entry:Main"); - command.Add("/SUBSYSTEM:CONSOLE"); + command.Add("/subsystem:console"); extension = "exe"; break; case AST::RiftModuleTarget::Shared: diff --git a/Libs/Pipe b/Libs/Pipe index 3571a1e7..918e8bfe 160000 --- a/Libs/Pipe +++ b/Libs/Pipe @@ -1 +1 @@ -Subproject commit 3571a1e7db009cf4b367c8137358ba8b3ea3ce08 +Subproject commit 918e8bfec5c1aef487c7cea81704f31226d1d682 diff --git a/Libs/Runtimes/IO/Main.rf b/Libs/Runtimes/IO/Main.rf index 9c4dfbe1..87a6a839 100644 --- a/Libs/Runtimes/IO/Main.rf +++ b/Libs/Runtimes/IO/Main.rf @@ -34,7 +34,7 @@ "y": 0.0 }, "2": { - "x": 6.0, + "x": 10.0, "y": 0.0 } }, diff --git a/Libs/Runtimes/IO/Src/IO.cpp b/Libs/Runtimes/IO/Src/IO.cpp index 25c2fb37..9bc2deaa 100644 --- a/Libs/Runtimes/IO/Src/IO.cpp +++ b/Libs/Runtimes/IO/Src/IO.cpp @@ -9,7 +9,7 @@ extern "C" { void Print(const char* text) { - std::cout << text; + std::cout << text << std::endl; } void PrintHelloWorld()