From e3424332d3fa1264e1f6861b76bb0d1b2996728d Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Sat, 4 May 2024 14:29:17 -0400 Subject: Build: cleanup * `doc/langref` formatting * upgrade `.{ .path = "..." }` to `b.path("...")` * avoid using arguments named `self` * make `Build.Step.Id` usage more consistent * add `Build.pathResolve` * use `pathJoin` and `pathResolve` everywhere * make sure `Build.LazyPath.getPath2` returns an absolute path --- doc/langref/enum_export_error.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/langref/enum_export_error.zig') diff --git a/doc/langref/enum_export_error.zig b/doc/langref/enum_export_error.zig index c584ef695e..1056fb182a 100644 --- a/doc/langref/enum_export_error.zig +++ b/doc/langref/enum_export_error.zig @@ -1,4 +1,6 @@ const Foo = enum { a, b, c }; -export fn entry(foo: Foo) void { _ = foo; } +export fn entry(foo: Foo) void { + _ = foo; +} // obj=parameter of type 'enum_export_error.Foo' not allowed in function with calling convention 'C' -- cgit v1.2.3