DQNEO / babygo

babygo👶 is a small Go compiler made from scratch, which can compile itself. It's going to be the smallest and simplest go compiler in the world.
MIT License
296 stars 20 forks source link

Panic: No source files found in ./example/hello (./example/hello) #121

Open nestedbytes opened 5 months ago

nestedbytes commented 5 months ago

I cloned the repo and ran:

go build -o babygo

and then

./babygo build -o hello ./example/hello

but it gave an error

panic: No source files found in ./example/hello (./example/hello)

goroutine 1 [running]:
......... 

i also tried running

./babygo build -o hello ./example/

and i got

panic: No source files found in /home/shour/go/src/github.com/DQNEO/babygo/src/os (os)

I am using Fedora linux Thanks, shour