mirror of
https://github.com/apple/swift.git
synced 2026-10-22 19:15:50 +02:00
This fixes compiler errors on Fedora 42 and similar distros. `<cmath>` wasn't correctly listed in the modulemap that Swift injects into libstdc++. rdar://152032606 / resolves https://github.com/swiftlang/swift/issues/81774
4 lines
49 B
C
4 lines
49 B
C
#include <math.h>
|
|
|
|
int getMyInt() { return 42; }
|