summaryrefslogtreecommitdiffstats
path: root/src/os/executable_wasm.go
blob: a88360c16fb9196e31b7a53bed48fbee80a1212b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build wasm

package os

import (
	"errors"
	"runtime"
)

func executable() (string, error) {
	return "", errors.New("Executable not implemented for " + runtime.GOOS)
}