Nick Craig-Wood
d67aa9cc7b
build: make rclone compile with GOOS=wasip1 GOARCH=wasm #7831
...
This now compiles but the link doesn't work because of
https://github.com/golang/go/issues/64856
2025-07-09 10:53:03 +01:00
albertony
68bf6aa584
build: remove build constraint syntax for go 1.16 and older
2024-04-18 16:53:55 +02:00
Nick Craig-Wood
e43b5ce5e5
Remove github.com/pkg/errors and replace with std library version
...
This is possible now that we no longer support go1.12 and brings
rclone into line with standard practices in the Go world.
This also removes errors.New and errors.Errorf from lib/errors and
prefers the stdlib errors package over lib/errors.
2021-11-07 11:53:30 +00:00
Ivan Andreev
24de896df2
build: apply gofmt from golang 1.17
2021-09-09 20:43:59 +03:00
Nick Craig-Wood
3a14b1d5a9
build: make rclone build with wasm
...
Needed to drop
- azureblob backend
- cache backend
- qingstor backend
- cachestats command
- ncdu command
2020-08-10 17:32:21 +01:00
Nick Craig-Wood
f0696dfe30
lib/mmap: library to do memory allocation with anonymous memory maps
2019-02-02 14:35:56 +00:00