Manlio Perillo
Manlio Perillo
### Zig Version 0.10.0-dev.2103+ac1aaec9c ### Steps to Reproduce Consider this program: ```zig const std = @import("std"); const debug = std.debug; pub fn main() void { var array: [0]u8 = [_]u8{};...
I'm using https://github.com/antoyo/vim-licenses with vim, and when I try to add the license notice at the top of the file, vim uses the incorrect `\\` used for multiline strings, instead...
The documentation for *workspaces* introduced a new term `root module` in the *Go Module Reference*. The term is used in [the glossary for **workspace**](https://go.dev/ref/mod#glos-workspace), but it is never defined.
Hi. Consider this code: ``` go package main import ( "fmt" ) type bug struct { a int b int `js:"b"` } func main() { v := bug{a: 10, b:...
### What version of Go are you using (`go version`)? $ go version go version go1.16.2 linux/amd64 I have noted that the tests that need to change the current working...
The purpose of this changeset is to allow the user to override the default `zig-cache` and `zig-out` directories. The next step is to add the `ZIG_INSTALL_DIR` environment variable, so that...
Implement the http://www.brynosaurus.com/cachedir/ specification for the Zig cache directory. This change will make it easier to exclude Zig cached data from a backup, expecially when the directory is not a...
In order to fix #13280 I decided to simply remove line number from the shell output; personally I think they are not necessary. In future I plan a refactoring as...
In the https://ziglang.org/documentation/master/#Optionals, the documentation says: "One benefit to this is that functions which take pointers as arguments can be annotated with the "nonnull" attribute - __attribute__((nonnull)) in [GCC](https://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Function-Attributes.html). The...
`gofmt` supports the `-s` code to simplify code. The details are available at https://github.com/golang/go/blob/master/src/cmd/gofmt/simplify.go. I propose to add the `--simplify` flag to `zig fmt`. Here a possible list of simplifications:...