aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/swift-pass-c-compiler-options.md
blob: 3610a8ea124a588082de1240e83a409a63e07da6 (plain)
1
2
3
4
5
6
7
8
## Swift compiler receives select C family compiler options

Meson now passes select few C family (C/Obj-C) compiler options to the
Swift compiler, notably *-std=*, in order to improve the compatibility
of C code as interpreted by the C compiler and the Swift compiler.

NB: This does not include any of the options set in the target's
c_flags.