[#970] fstree: Add build tag to enable generic version on linux
Unless tested, generic version can start gaining bugs. With a separate build tag we can have the best of both worlds: 1. Use optimized implementation for linux by default. 2. Run tests or benchmarks for both. Note that they are not actually run automatically now, but this is at leas possible. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
abd502215f
commit
b36a453238
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
//go:build linux
|
||||
//go:build linux && !fstree_generic
|
||||
|
||||
package fstree
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//go:build !linux
|
||||
//go:build !linux || fstree_generic
|
||||
|
||||
package fstree
|
||||
|
||||
|
|
Loading…
Reference in a new issue