We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc42ed commit fcff82fCopy full SHA for fcff82f
src/dev.zig
@@ -26,6 +26,10 @@ pub const Env = enum {
26
/// - `zig build-* -fno-llvm -fno-lld -target x86_64-linux`
27
@"x86_64-linux",
28
29
+ /// - sema
30
+ /// - `zig build-* -fno-llvm -fno-lld -target riscv64-linux`
31
+ @"riscv64-linux",
32
+
33
pub inline fn supports(comptime dev_env: Env, comptime feature: Feature) bool {
34
return switch (dev_env) {
35
.full => true,
@@ -131,6 +135,12 @@ pub const Env = enum {
131
135
=> true,
132
136
else => Env.sema.supports(feature),
133
137
},
138
+ .@"riscv64-linux" => switch (feature) {
139
+ .riscv64_backend,
140
+ .elf_linker,
141
+ => true,
142
+ else => Env.sema.supports(feature),
143
+ },
134
144
};
145
}
146
0 commit comments