github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/internal/invariants/on.go (about)

     1  // Copyright 2020 The LevelDB-Go and Pebble Authors. All rights reserved. Use
     2  // of this source code is governed by a BSD-style license that can be found in
     3  // the LICENSE file.
     4  
     5  //go:build invariants || race
     6  // +build invariants race
     7  
     8  package invariants
     9  
    10  // Enabled is true if we were built with the "invariants" or "race" build tags.
    11  const Enabled = true