freetype: support compiling with stage2 (-fno-stage1)

This commit is contained in:
PiergiorgioZagaria 2022-07-06 11:59:28 +02:00 committed by Stephen Gutekanst
parent d3b03901fb
commit b4ac18ec57
10 changed files with 61 additions and 29 deletions

View file

@ -2,6 +2,11 @@
const std = @import("std");
const freetype = @import("freetype");
// Remove once the stage2 compiler fixes pkg std not found
comptime {
_ = @import("utils");
}
pub fn main() !void {
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
defer _ = gpa.deinit();