mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 11:33:59 +00:00
compileopts: improve error reporting of unsupported flags
This commit is contained in:
committed by
Ayke van Laethem
parent
29ca1147f5
commit
76fb3bd177
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user