yaegi
yaegi copied to clipboard
interp: fix the logic to skip source files based on OS or CPU arch
For example, on architecture GOARCH=amd64, a file named foobar_amd64.go
would be skipped instead of being read and parsed. The function skipFile
is fixed and missing tests are added.