diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-12-15 05:45:53 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-12-15 05:45:53 +0100 |
| commit | 5f34224b2b4afed00c412fccaf20eef0a7dbedcc (patch) | |
| tree | 3cbd3561afe24ffab073f62d189a7d9b7217c62f /src/main.zig | |
| parent | af89bb05d392b34a9ac257d166df1c794542f2e8 (diff) | |
| download | zig-5f34224b2b4afed00c412fccaf20eef0a7dbedcc.tar.gz zig-5f34224b2b4afed00c412fccaf20eef0a7dbedcc.zip | |
zig cc: Remove broken CUDA C/C++ support.
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main.zig b/src/main.zig index 39fd3e6213..7e84a73aa9 100644 --- a/src/main.zig +++ b/src/main.zig @@ -406,11 +406,10 @@ const usage_build_generic = \\ .s Target-specific assembly source code \\ .S Assembly with C preprocessor (requires LLVM extensions) \\ .c C source code (requires LLVM extensions) - \\ .cxx .cc .C .cpp .c++ .stub C++ source code (requires LLVM extensions) + \\ .cxx .cc .C .cpp .c++ C++ source code (requires LLVM extensions) \\ .m Objective-C source code (requires LLVM extensions) \\ .mm Objective-C++ source code (requires LLVM extensions) \\ .bc LLVM IR Module (requires LLVM extensions) - \\ .cu Cuda source code (requires LLVM extensions) \\ \\General Options: \\ -h, --help Print this help and exit @@ -1770,7 +1769,7 @@ fn buildOutputType( fatal("only one manifest file can be specified, found '{s}' after '{s}'", .{ arg, other }); } else manifest_file = arg; }, - .assembly, .assembly_with_cpp, .c, .cpp, .h, .hpp, .hm, .hmm, .ll, .bc, .m, .mm, .cu => { + .assembly, .assembly_with_cpp, .c, .cpp, .h, .hpp, .hm, .hmm, .ll, .bc, .m, .mm => { try create_module.c_source_files.append(arena, .{ // Populated after module creation. .owner = undefined, @@ -1867,7 +1866,7 @@ fn buildOutputType( try cc_argv.appendSlice(arena, it.other_args); }, .positional => switch (file_ext orelse Compilation.classifyFileExt(mem.sliceTo(it.only_arg, 0))) { - .assembly, .assembly_with_cpp, .c, .cpp, .ll, .bc, .h, .hpp, .hm, .hmm, .m, .mm, .cu => { + .assembly, .assembly_with_cpp, .c, .cpp, .ll, .bc, .h, .hpp, .hm, .hmm, .m, .mm => { try create_module.c_source_files.append(arena, .{ // Populated after module creation. .owner = undefined, |
