Source file src/runtime/internal/wasitest/host_test.go

     1  // Copyright 2023 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package wasi_test
     6  
     7  import "flag"
     8  
     9  var target string
    10  
    11  func init() {
    12  	// The dist test runner passes -target when running this as a host test.
    13  	flag.StringVar(&target, "target", "", "")
    14  }
    15  

View as plain text