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//go:build wasip1 6 7package osinfo 8 9import ( 10 "errors" 11 "fmt" 12) 13 14// Version returns the OS version name/number. 15func Version() (string, error) { 16 return "", fmt.Errorf("unable to determine OS version: %w", errors.ErrUnsupported) 17} 18