Update release notes and change how versions are reported.

This commit is contained in:
Christoffer Lerno
2024-03-18 11:51:31 +01:00
parent 5bead069f2
commit d8af01dc46
3 changed files with 6 additions and 4 deletions

View File

@@ -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.

View File

@@ -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)

View File

@@ -1 +1,2 @@
#define COMPILER_VERSION "0.5.5"
#define PRERELEASE 1