Skip to content

Release to create downloadable artifacts

Choose a tag to compare

@cs01 cs01 released this 27 Nov 13:39
· 7 commits to null-safe-c-dev since this release
89f36f1

Null-Safe Clang Binary Release

This release contains the Null-Safe Clang compiler and clangd language server for Linux and macOS.

What's included:

  • clang - The Null-Safe C compiler
  • clangd - Language server for IDE integration (VSCode, vim, etc.)

Installation:

Linux / macOS:

tar -xzf clang-nullsafe-<platform>.tar.gz
export PATH=$PWD/bin:$PATH
clang --version

Usage:

# Compile with null-safety warnings (default)
clang mycode.c

# Promote warnings to errors
clang -Werror=nullability mycode.c

# Disable null-safety checking
clang -fno-strict-nullability mycode.c

See the README for full documentation.