diff options
author | Ayke van Laethem <[email protected]> | 2023-02-26 14:52:56 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-02-26 19:22:10 +0100 |
commit | 488174767b13912e1ccc239053c47481cf8cb4da (patch) | |
tree | 341341a3608473c37044f277d69c83fe5f741fa3 /compileopts | |
parent | 201592d93b9d2f18d2922b851dbf611d9609767c (diff) | |
download | tinygo-488174767b13912e1ccc239053c47481cf8cb4da.tar.gz tinygo-488174767b13912e1ccc239053c47481cf8cb4da.zip |
builder: remove non-ThinLTO build mode
All targets now support ThinLTO so let's remove the old unused code.
Diffstat (limited to 'compileopts')
-rw-r--r-- | compileopts/config.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compileopts/config.go b/compileopts/config.go index 4a9670005..bfb02f1b7 100644 --- a/compileopts/config.go +++ b/compileopts/config.go @@ -191,14 +191,6 @@ func (c *Config) StackSize() uint64 { return c.Target.DefaultStackSize } -// UseThinLTO returns whether ThinLTO should be used for the given target. -func (c *Config) UseThinLTO() bool { - // All architectures support ThinLTO now. However, this code is kept for the - // time being in case there are regressions. The non-ThinLTO code support - // should be removed when it is proven to work reliably. - return true -} - // RP2040BootPatch returns whether the RP2040 boot patch should be applied that // calculates and patches in the checksum for the 2nd stage bootloader. func (c *Config) RP2040BootPatch() bool { |