From d8af01dc46d8882547621c7d07f857d2488c3727 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Mon, 18 Mar 2024 11:51:31 +0100 Subject: [PATCH] Update release notes and change how versions are reported. --- releasenotes.md | 1 + src/build/build_options.c | 8 ++++---- src/version.h | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/releasenotes.md b/releasenotes.md index a9366e8ca..b7ab48c07 100644 --- a/releasenotes.md +++ b/releasenotes.md @@ -24,6 +24,7 @@ - For MacOS, running with higher optimization would crash as initializers were removed. - `compile-run` and `run` now returns the proper return code. - Allow String constants -> ichar*, and allow integer pointers to explicitly convert between unsigned signed. +- Bug in unaligned return value lowering for Aarch64. ### Stdlib changes - Added `new_aligned` and `alloc_aligned` functions to prevent accidental under-alignment when allocating simd. diff --git a/src/build/build_options.c b/src/build/build_options.c index ed6cf2fb5..4a4150a56 100644 --- a/src/build/build_options.c +++ b/src/build/build_options.c @@ -398,10 +398,10 @@ static void print_all_targets(void) static void print_version(void) { - OUTPUT("C3 Compiler Version (alpha): %s", COMPILER_VERSION); - OUTPUT("Installed directory: %s", find_executable_path()); - OUTPUT("LLVM version: %s", llvm_version); - OUTPUT("LLVM default target: %s", llvm_target); + OUTPUT("C3 Compiler Version: %s%s", COMPILER_VERSION, PRERELEASE ? " (prerelease)" : ""); + OUTPUT("Installed directory: %s", find_executable_path()); + OUTPUT("LLVM version: %s", llvm_version); + OUTPUT("LLVM default target: %s", llvm_target); } static void add_linker_arg(BuildOptions *options, const char *arg) diff --git a/src/version.h b/src/version.h index 97586da73..738fe903d 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1,2 @@ #define COMPILER_VERSION "0.5.5" +#define PRERELEASE 1 \ No newline at end of file