I'm trying to use @embedFile at comptime: https://ziglang.org/documentation/master/#toc-embedFile.
fn js_load_file() *const [*:0]u8 {
const contents = @embedFile("./foo.js");
return contents;
}```
I get the following
^
./src/main.zig:341:12: note: pointer type child '[55:0]u8' cannot cast into pointer type child '[*:0]u8'
return contents;
^
Do I have to know the length of the file in order to use this function?