We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 122350d + 0940f75 commit 69c695dCopy full SHA for 69c695d
test/Driver/static-stdlib.swift
@@ -1,5 +1,6 @@
1
// Statically link a "hello world" program
2
// XFAIL: linux
3
+// XFAIL: lto
4
// REQUIRES: static_stdlib
5
print("hello world!")
6
// RUN: rm -rf %t && mkdir %t
test/lit.site.cfg.in
@@ -26,6 +26,11 @@ if "@SWIFT_ASAN_BUILD@" == "TRUE":
26
else:
27
config.available_features.add('no_asan')
28
29
+if '@SWIFT_ENABLE_LTO@' == 'TRUE':
30
+ config.available_features.add('lto')
31
+else:
32
+ config.available_features.add('no_lto')
33
+
34
if "@LLVM_ENABLE_ASSERTIONS@" == "TRUE":
35
config.available_features.add('asserts')
36
0 commit comments