[embedded] Build the stdlib for x86_64 too, and run executable tests on x86_64

This commit is contained in:
Kuba Mracek
2023-09-18 20:25:32 -07:00
parent 2cb22f5c60
commit e898a9a4fd
5 changed files with 12 additions and 12 deletions

View File

@@ -1,12 +1,11 @@
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -target arm64-apple-none-macho -Xcc -D__MACH__ -Xcc -D__arm64__ -Xcc -D__APPLE__ \
// RUN: -enable-experimental-feature Embedded -enforce-exclusivity=none %s -c -o %t/a.o
// RUN: %target-swift-frontend -enable-experimental-feature Embedded -enforce-exclusivity=none %s -c -o %t/a.o
// RUN: %target-clang %t/a.o -o %t/a.out
// RUN: %target-run %t/a.out | %FileCheck %s
// REQUIRES: executable_test
// REQUIRES: VENDOR=apple
// REQUIRES: CPU=arm64
// REQUIRES: OS=macosx
@_silgen_name("putchar")
func putchar(_: UInt8)