zig cc: Support -rtlib=none for disabling compiler-rt.

This commit is contained in:
Alex Rønne Petersen
2024-09-08 01:38:44 +02:00
committed by Andrew Kelley
parent de8cece6e7
commit 95bb53653d
3 changed files with 24 additions and 2 deletions

View File

@@ -548,6 +548,14 @@ const known_options = [_]KnownOpt{
.name = "fno-sanitize-coverage",
.ident = "no_san_cov",
},
.{
.name = "rtlib",
.ident = "rtlib",
},
.{
.name = "rtlib=",
.ident = "rtlib",
},
};
const blacklisted_options = [_][]const u8{};