From d506514d29598c9d740669effb39f9789b0e4e50 Mon Sep 17 00:00:00 2001 From: chai2010 Date: Sat, 3 Sep 2022 13:46:59 +0800 Subject: [PATCH] =?UTF-8?q?windows=20=E6=9A=82=E6=97=B6=E5=BF=BD=E7=95=A5?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/backends/compiler_wat/base.wat.go | 2 +- internal/format/format_test.go | 3 +++ internal/printer/performance_test.go | 3 +++ internal/printer/printer_test.go | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/internal/backends/compiler_wat/base.wat.go b/internal/backends/compiler_wat/base.wat.go index dc1df3a..44a34da 100644 --- a/internal/backends/compiler_wat/base.wat.go +++ b/internal/backends/compiler_wat/base.wat.go @@ -248,4 +248,4 @@ const modBaseWat = ` ;; {{$_start/body/end}} ) -` \ No newline at end of file +` diff --git a/internal/format/format_test.go b/internal/format/format_test.go index 84b4921..6849793 100644 --- a/internal/format/format_test.go +++ b/internal/format/format_test.go @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !windows +// +build !windows + package format import ( diff --git a/internal/printer/performance_test.go b/internal/printer/performance_test.go index 3f59e79..6f580bc 100644 --- a/internal/printer/performance_test.go +++ b/internal/printer/performance_test.go @@ -5,6 +5,9 @@ // This file implements a simple printer performance benchmark: // go test -bench=BenchmarkPrint +//go:build !windows +// +build !windows + package printer import ( diff --git a/internal/printer/printer_test.go b/internal/printer/printer_test.go index 61eb7d5..5c9b50b 100644 --- a/internal/printer/printer_test.go +++ b/internal/printer/printer_test.go @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !windows +// +build !windows + package printer import ( -- GitLab