Skip to content

Commit

Permalink
test: Replace _silgen_name w/ _cdecl in CommandLineStressTest
Browse files Browse the repository at this point in the history
This test abuses @_silgen_name unnecessarily according to https://forums.swift.org/t/how-can-my-c-main-function-call-swift/40244/2
  • Loading branch information
MaxDesiatov committed Sep 14, 2020
1 parent c11cb44 commit 0c8b866
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,5 +1,5 @@
// Do not change the SIL name for this without also changing CommandLineStressTest.c
@_silgen_name("swift_commandline_test_getProcessArgs")
@_cdecl("swift_commandline_test_getProcessArgs")
public func runTest() {
let CommandLineRaceTestSuite = TestSuite("CommandLine Race")

Expand Down

0 comments on commit 0c8b866

Please sign in to comment.