Skip to content

build: add tag '!staticbuild' to explicitly indicating has external deps#84

Open
fanzu8 wants to merge 1 commit intoccfos:mainfrom
fanzu8:siatic-compile
Open

build: add tag '!staticbuild' to explicitly indicating has external deps#84
fanzu8 wants to merge 1 commit intoccfos:mainfrom
fanzu8:siatic-compile

Conversation

@fanzu8
Copy link
Collaborator

@fanzu8 fanzu8 commented Dec 11, 2025

  • make build default static compilation, do not compile files of includes tag '!staticbuild'
  • make build-shared compile all but maybe has external deps

$ cat foo.go

//go:build !staticbuild

package foo

...

$ cat foo.go
```
//go:build !staticbuild

package foo

...
```

Signed-off-by: fanzu8 <tuzengbing@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant