aboutsummaryrefslogtreecommitdiffhomepage
path: root/compileopts
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2022-12-18 20:22:54 +0100
committerRon Evans <[email protected]>2022-12-19 08:44:39 +0100
commitc5c6464175652252ef73ea7878e1c9dbee8482d6 (patch)
treeb48ecd016414925d38ce465a99aec85eae9d1af0 /compileopts
parentc90ff1e1cff3eff931728f750e09a11d4949139d (diff)
downloadtinygo-c5c6464175652252ef73ea7878e1c9dbee8482d6.tar.gz
tinygo-c5c6464175652252ef73ea7878e1c9dbee8482d6.zip
compileopts: replace 'retries' with more correct 'timeout' param
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to 'compileopts')
-rw-r--r--compileopts/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/compileopts/options.go b/compileopts/options.go
index 11d8d40b2..ba3950f53 100644
--- a/compileopts/options.go
+++ b/compileopts/options.go
@@ -51,7 +51,7 @@ type Options struct {
PrintJSON bool
Monitor bool
BaudRate int
- Retries int
+ Timeout time.Duration
}
// Verify performs a validation on the given options, raising an error if options are not valid.