From b8c03229249f2bc23632934e3da1fa9b180d213c Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Thu, 21 May 2020 14:27:55 -0700 Subject: [PATCH 1/2] Backtrace fix --- IDEHelper/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IDEHelper/CMakeLists.txt b/IDEHelper/CMakeLists.txt index 35b10e03..90129f5d 100644 --- a/IDEHelper/CMakeLists.txt +++ b/IDEHelper/CMakeLists.txt @@ -194,7 +194,7 @@ execute_process( set(TARGET_LIBS_OS "${LLVM_SYSTEM_LIBS}") if (HAVE_BACKTRACE_HEADERS) - set(TARGET_LIBS_OS " -lbacktrace") + string(APPEND TARGET_LIBS_OS " -lbacktrace") endif() list(APPEND LLVM_LIBS From fc229c98357d960e3c20273e5b1973c49ff4bdb9 Mon Sep 17 00:00:00 2001 From: RogueMacro <51059464+RogueMacro@users.noreply.github.com> Date: Fri, 22 May 2020 11:06:20 +0200 Subject: [PATCH 2/2] Update Console.bf --- BeefLibs/corlib/src/Console.bf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BeefLibs/corlib/src/Console.bf b/BeefLibs/corlib/src/Console.bf index 41f651cf..41ddf1a1 100644 --- a/BeefLibs/corlib/src/Console.bf +++ b/BeefLibs/corlib/src/Console.bf @@ -142,6 +142,14 @@ namespace System return OpenStreamReader(.In, ref mIn); } } + + public static Result Read() => In.Read(); + + public static Result ReadLine(String strBuffer) => In.ReadLine(strBuffer); + + public static Task ReadLineAsync() => In.ReadLineAsync(); + + public static Result ReadToEnd(String outText) => In.ReadToEnd(outText); public static void Write(String line) {