mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 05:23:40 +00:00
all: add support for Windows
This commit is contained in:
committed by
Ron Evans
parent
8906192690
commit
7369a0e7f2
@@ -70,6 +70,7 @@ func fuzzyEqualIR(s1, s2 string) bool {
|
||||
func filterIrrelevantIRLines(lines []string) []string {
|
||||
var out []string
|
||||
for _, line := range lines {
|
||||
line = strings.TrimSpace(line) // drop '\r' on Windows
|
||||
if line == "" || line[0] == ';' {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user