mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Don't inline functions in debug builds
This commit is contained in:
@@ -180,6 +180,11 @@ func (b *BaseBuilder) CompileProject(options *Options) error {
|
||||
}
|
||||
}
|
||||
|
||||
// Add better debugging flags
|
||||
if options.Mode == Debug {
|
||||
commands.Add(`-gcflags=all="-N -l"`)
|
||||
}
|
||||
|
||||
// Get application build directory
|
||||
appDir := options.BuildDirectory
|
||||
err := cleanBuildDirectory(options)
|
||||
|
||||
Reference in New Issue
Block a user