From b6d89c5d644dfd38cae6a42a21dfb2028c8eece4 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Wed, 5 Jul 2023 16:34:35 +0100 Subject: [PATCH] Fix Wasm capitalization in code comments (#1391) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to the WebAssembly spec, Wasm is a contraction of “WebAssembly”, not an acronym, hence not using all-caps: https://webassembly.github.io/spec/core/intro/introduction.html#wasm --- Sources/SwiftDriver/Jobs/AutolinkExtractJob.swift | 2 +- Sources/SwiftDriver/Toolchains/WebAssemblyToolchain.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/SwiftDriver/Jobs/AutolinkExtractJob.swift b/Sources/SwiftDriver/Jobs/AutolinkExtractJob.swift index f48b2ca3c..d1cd15bc3 100644 --- a/Sources/SwiftDriver/Jobs/AutolinkExtractJob.swift +++ b/Sources/SwiftDriver/Jobs/AutolinkExtractJob.swift @@ -12,7 +12,7 @@ import struct TSCBasic.RelativePath -// On ELF/WASM platforms there's no built in autolinking mechanism, so we +// On ELF/Wasm platforms there's no built in autolinking mechanism, so we // pull the info we need from the .o files directly and pass them as an // argument input file to the linker. // FIXME: Also handle Cygwin and MinGW diff --git a/Sources/SwiftDriver/Toolchains/WebAssemblyToolchain.swift b/Sources/SwiftDriver/Toolchains/WebAssemblyToolchain.swift index 5861cb330..b842da9f1 100644 --- a/Sources/SwiftDriver/Toolchains/WebAssemblyToolchain.swift +++ b/Sources/SwiftDriver/Toolchains/WebAssemblyToolchain.swift @@ -1,4 +1,4 @@ -//===-------- WebAssemblyToolchain.swift - Swift WASM Toolchain -----------===// +//===-------- WebAssemblyToolchain.swift - Swift Wasm Toolchain -----------===// // // This source file is part of the Swift.org open source project //