mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-23 18:02:28 +00:00
f6ab9553f4
Closes #10411
12 lines
301 B
Go
12 lines
301 B
Go
// Copyright 2022 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build noopt
|
|
|
|
package testenv
|
|
|
|
// OptimizationOff reports whether optimization is disabled.
|
|
func OptimizationOff() bool {
|
|
return true
|
|
}
|