chore:keep origin c format

This commit is contained in:
luoliwoshang
2025-06-11 20:30:44 +08:00
parent efabdf27c8
commit 4f5c95045d
7 changed files with 41 additions and 26 deletions

View File

@@ -91,7 +91,6 @@ func (p *Cmd) execWithFlags(flags []string, args ...string) error {
if p.Env != nil {
cmd.Env = p.Env
}
fmt.Fprintln(os.Stderr, cmd.String())
return cmd.Run()
}
@@ -132,8 +131,6 @@ func (p *Cmd) CheckLinkArgs(cmdArgs []string, wasm bool) error {
srcIn := strings.NewReader(src)
p.Stdin = srcIn
fmt.Fprintf(os.Stderr, "args: %v\n", args)
// Execute the command
return p.execWithFlags([]string{"LDFLAGS", "CCFLAGS"}, args...)
}