Thank you for your overview and the links.
Using -mod=readonly together with go install indeed does what I want.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Consider the following scenario. I commit a version of my project and I'm
happy with the dependencies and their versions that are listed in my go.mod
file. I push my code to the central repo and the CI starts to build the
project with go get or go install. Because the CI builds for a
This is embarassing, but setting GOOS=android fixed the issue.
I was under the impression that android builds were only supported with an
addition to the toolchain.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group
I am trying to cross compile the sers library from
github.com/distributed/sers to arm64 android.
I have an Android SDK on my computer and I point $AR, $CC, $CXX and so on
to the relevant programs.
In a checkout of the sers library (git clone
https://github.com/distributed/sers.git) I run
Thanks for the clarification. I suppose internal UnlockOSThread does not
override the runtime.LockOSThread by my code from the outside?
Not really. On error you could malloc a buffer, copy in the string,
> and return the buffer to Go. In Go you could copy the buffer into Go
> memory and
I am currently wrapping a proprietary library with cgo.
About error reporting, the library documentation says "Every function that
can fail returns at least boolean or pointer value that can be used to
detect error state (false and NULL means error, every other value means
success). If such