mirror of
https://github.com/fairyglade/ly.git
synced 2026-06-22 07:22:00 +00:00
Remove TODO and stop forcing LLVM usage (again)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -69,7 +69,6 @@ pub fn build(b: *std.Build) !void {
|
|||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
}),
|
}),
|
||||||
.use_llvm = true,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const ly_ui = b.dependency("ly_ui", .{
|
const ly_ui = b.dependency("ly_ui", .{
|
||||||
|
|||||||
@@ -235,7 +235,6 @@ fn PlatformStruct() type {
|
|||||||
|
|
||||||
const platform_struct = PlatformStruct();
|
const platform_struct = PlatformStruct();
|
||||||
|
|
||||||
// TODO 0.16.0: Can we get away with this?
|
|
||||||
pub fn isError(result: anytype) bool {
|
pub fn isError(result: anytype) bool {
|
||||||
if (@typeInfo(@TypeOf(result)).int.signedness == .signed) {
|
if (@typeInfo(@TypeOf(result)).int.signedness == .signed) {
|
||||||
return result < 0;
|
return result < 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user