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 e2f1a70 commit c6e3138Copy full SHA for c6e3138
lib/compiler/translate-c/main.zig
@@ -41,14 +41,7 @@ pub fn main() u8 {
41
};
42
defer comp.deinit();
43
44
- const exe_name = std.fs.selfExePathAlloc(gpa) catch {
45
- std.debug.print("unable to find translate-c executable path\n", .{});
46
- if (fast_exit) process.exit(1);
47
- return 1;
48
- };
49
- defer gpa.free(exe_name);
50
-
51
- var driver: aro.Driver = .{ .comp = &comp, .diagnostics = &diagnostics, .aro_name = exe_name };
+ var driver: aro.Driver = .{ .comp = &comp, .diagnostics = &diagnostics, .aro_name = "aro" };
52
defer driver.deinit();
53
54
var toolchain: aro.Toolchain = .{ .driver = &driver, .filesystem = .{ .real = comp.cwd } };
0 commit comments