Skip to content

Commit

Permalink
Update release notes and change how versions are reported.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Mar 18, 2024
1 parent 5bead06 commit d8af01d
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions releasenotes.md
Original file line number Diff line number Diff line change
@@ -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.
8 changes: 4 additions & 4 deletions src/build/build_options.c
Original file line number Diff line number Diff line change
@@ -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)
1 change: 1 addition & 0 deletions src/version.h
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#define COMPILER_VERSION "0.5.5"
#define PRERELEASE 1

0 comments on commit d8af01d

Please sign in to comment.