compileopts: improve error reporting of unsupported flags

This commit is contained in:
cebernardi
2020-05-16 22:15:44 +01:00
committed by Ayke van Laethem
parent 29ca1147f5
commit 76fb3bd177
4 changed files with 211 additions and 9 deletions
+2 -2
View File
@@ -129,8 +129,8 @@ func (c *Config) NeedsStackObjects() bool {
}
}
// Scheduler returns the scheduler implementation. Valid values are "coroutines"
// and "tasks".
// Scheduler returns the scheduler implementation. Valid values are "none",
//"coroutines" and "tasks".
func (c *Config) Scheduler() string {
if c.Options.Scheduler != "" {
return c.Options.Scheduler