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

     1  // Copyright 2018 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 race
     6  // +build race
     7  
     8  package invariants
     9  
    10  // RaceEnabled is true if we were built with the "race" build tag.
    11  const RaceEnabled = true