Skip to content

ENOTDIR not declared by package syscall #1286

Closed
@ribasushi

Description

@ribasushi

TLDR
path/filepath is listed as fully implemented, yet it fails compilation.

Version
tinygo version 0.14.0 darwin/amd64 (using go version go1.14.7 and LLVM version 10.0.0)

Failure

~$ tinygo run tiny.go 
# path/filepath
/usr/local/go/src/path/filepath/symlink.go:90:24: ENOTDIR not declared by package syscall

Expectation

~$ go run tiny.go 
cur dir:        /Users/{{expected stuff follows here}}

Testcase

package main

import (
	"fmt"
	"path/filepath"
)

func main() {
	cwd, _ := filepath.Abs(".")
	fmt.Printf("cur dir:\t%s\n", cwd)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions