@@ -13,8 +13,8 @@ module.
13
13
## create_swift_interop_info
14
14
15
15
<pre >
16
- create_swift_interop_info(<a href =" #create_swift_interop_info-exclude_headers " >exclude_headers</a >, <a href =" #create_swift_interop_info-module_map " >module_map</a >, <a href =" #create_swift_interop_info-module_name " >module_name</a >, <a href =" #create_swift_interop_info-requested_features " >requested_features</ a >, < a href = " #create_swift_interop_info-suppressed " >suppressed </a >,
17
- <a href =" #create_swift_interop_info-swift_infos " >swift_infos</a >, <a href =" #create_swift_interop_info-unsupported_features " >unsupported_features</a >)
16
+ create_swift_interop_info(*, <a href =" #create_swift_interop_info-exclude_headers " >exclude_headers</a >, <a href =" #create_swift_interop_info-module_map " >module_map</a >, <a href =" #create_swift_interop_info-module_name " >module_name</a >, <a href =" #create_swift_interop_info-requested_features " >requested_features</a >,
17
+ <a href =" #create_swift_interop_info-suppressed " >suppressed</ a >, < a href = " #create_swift_interop_info- swift_infos" >swift_infos</a >, <a href =" #create_swift_interop_info-unsupported_features " >unsupported_features</a >)
18
18
</pre >
19
19
20
20
Returns a provider that lets a target expose C/Objective-C APIs to Swift.
@@ -74,7 +74,7 @@ A provider whose type/layout is an implementation detail and should not
74
74
## derive_swift_module_name
75
75
76
76
<pre >
77
- derive_swift_module_name(<a href =" #derive_swift_module_name-args " >args</a >)
77
+ derive_swift_module_name(<a href =" #derive_swift_module_name-args " >* args</a >)
78
78
</pre >
79
79
80
80
Returns a derived module name from the given build label.
@@ -164,7 +164,7 @@ A C++ `FeatureConfiguration` value (see
164
164
## swift_common.compile
165
165
166
166
<pre >
167
- swift_common.compile(<a href =" #swift_common.compile-actions " >actions</a >, <a href =" #swift_common.compile-additional_inputs " >additional_inputs</a >, <a href =" #swift_common.compile-cc_infos " >cc_infos</a >, <a href =" #swift_common.compile-copts " >copts</a >, <a href =" #swift_common.compile-defines " >defines</a >, <a href =" #swift_common.compile-exec_group " >exec_group</a >,
167
+ swift_common.compile(*, <a href =" #swift_common.compile-actions " >actions</a >, <a href =" #swift_common.compile-additional_inputs " >additional_inputs</a >, <a href =" #swift_common.compile-cc_infos " >cc_infos</a >, <a href =" #swift_common.compile-copts " >copts</a >, <a href =" #swift_common.compile-defines " >defines</a >, <a href =" #swift_common.compile-exec_group " >exec_group</a >,
168
168
<a href =" #swift_common.compile-extra_swift_infos " >extra_swift_infos</a >, <a href =" #swift_common.compile-feature_configuration " >feature_configuration</a >, <a href =" #swift_common.compile-generated_header_name " >generated_header_name</a >, <a href =" #swift_common.compile-is_test " >is_test</a >,
169
169
<a href =" #swift_common.compile-include_dev_srch_paths " >include_dev_srch_paths</a >, <a href =" #swift_common.compile-module_name " >module_name</a >, <a href =" #swift_common.compile-package_name " >package_name</a >, <a href =" #swift_common.compile-plugins " >plugins</a >, <a href =" #swift_common.compile-private_cc_infos " >private_cc_infos</a >,
170
170
<a href =" #swift_common.compile-private_swift_infos " >private_swift_infos</a >, <a href =" #swift_common.compile-srcs " >srcs</a >, <a href =" #swift_common.compile-swift_infos " >swift_infos</a >, <a href =" #swift_common.compile-swift_toolchain " >swift_toolchain</a >, <a href =" #swift_common.compile-target_name " >target_name</a >,
@@ -250,7 +250,7 @@ A `struct` with the following fields:
250
250
## swift_common.compile_module_interface
251
251
252
252
<pre >
253
- swift_common.compile_module_interface(<a href =" #swift_common.compile_module_interface-actions " >actions</a >, <a href =" #swift_common.compile_module_interface-clang_module " >clang_module</a >, <a href =" #swift_common.compile_module_interface-compilation_contexts " >compilation_contexts</a >, <a href =" #swift_common.compile_module_interface-copts " >copts</a >,
253
+ swift_common.compile_module_interface(*, <a href =" #swift_common.compile_module_interface-actions " >actions</a >, <a href =" #swift_common.compile_module_interface-clang_module " >clang_module</a >, <a href =" #swift_common.compile_module_interface-compilation_contexts " >compilation_contexts</a >, <a href =" #swift_common.compile_module_interface-copts " >copts</a >,
254
254
<a href =" #swift_common.compile_module_interface-exec_group " >exec_group</a >, <a href =" #swift_common.compile_module_interface-feature_configuration " >feature_configuration</a >, <a href =" #swift_common.compile_module_interface-is_framework " >is_framework</a >, <a href =" #swift_common.compile_module_interface-module_name " >module_name</a >,
255
255
<a href =" #swift_common.compile_module_interface-swiftinterface_file " >swiftinterface_file</a >, <a href =" #swift_common.compile_module_interface-swift_infos " >swift_infos</a >, <a href =" #swift_common.compile_module_interface-swift_toolchain " >swift_toolchain</a >, <a href =" #swift_common.compile_module_interface-target_name " >target_name</a >,
256
256
<a href =" #swift_common.compile_module_interface-toolchain_type " >toolchain_type</a >)
@@ -292,7 +292,7 @@ A Swift module context (as returned by `create_swift_module_context`)
292
292
## swift_common.configure_features
293
293
294
294
<pre >
295
- swift_common.configure_features(<a href =" #swift_common.configure_features-ctx " >ctx</a >, <a href =" #swift_common.configure_features-swift_toolchain " >swift_toolchain</a >, <a href =" #swift_common.configure_features-requested_features " >requested_features</a >, <a href =" #swift_common.configure_features-unsupported_features " >unsupported_features</a >)
295
+ swift_common.configure_features(<a href =" #swift_common.configure_features-ctx " >ctx</a >, <a href =" #swift_common.configure_features-swift_toolchain " >swift_toolchain</a >, *, <a href =" #swift_common.configure_features-requested_features " >requested_features</a >, <a href =" #swift_common.configure_features-unsupported_features " >unsupported_features</a >)
296
296
</pre >
297
297
298
298
Creates a feature configuration to be passed to Swift build APIs.
@@ -359,8 +359,8 @@ A `struct` containing four fields:
359
359
## swift_common.create_linking_context_from_compilation_outputs
360
360
361
361
<pre >
362
- swift_common.create_linking_context_from_compilation_outputs(<a href =" #swift_common.create_linking_context_from_compilation_outputs-actions " >actions</a >, <a href =" #swift_common.create_linking_context_from_compilation_outputs-additional_inputs " >additional_inputs</ a >, < a href = " #swift_common.create_linking_context_from_compilation_outputs-alwayslink " >alwayslink </a >,
363
- <a href =" #swift_common.create_linking_context_from_compilation_outputs-compilation_outputs " >compilation_outputs</a >,
362
+ swift_common.create_linking_context_from_compilation_outputs(*, <a href =" #swift_common.create_linking_context_from_compilation_outputs-actions " >actions</a >, <a href =" #swift_common.create_linking_context_from_compilation_outputs-additional_inputs " >additional_inputs</a >,
363
+ <a href =" #swift_common.create_linking_context_from_compilation_outputs-alwayslink " >alwayslink</ a >, < a href = " #swift_common.create_linking_context_from_compilation_outputs- compilation_outputs" >compilation_outputs</a >,
364
364
<a href =" #swift_common.create_linking_context_from_compilation_outputs-feature_configuration " >feature_configuration</a >, <a href =" #swift_common.create_linking_context_from_compilation_outputs-is_test " >is_test</a >,
365
365
<a href =" #swift_common.create_linking_context_from_compilation_outputs-include_dev_srch_paths " >include_dev_srch_paths</a >, <a href =" #swift_common.create_linking_context_from_compilation_outputs-label " >label</a >,
366
366
<a href =" #swift_common.create_linking_context_from_compilation_outputs-linking_contexts " >linking_contexts</a >, <a href =" #swift_common.create_linking_context_from_compilation_outputs-module_context " >module_context</a >, <a href =" #swift_common.create_linking_context_from_compilation_outputs-name " >name</a >,
@@ -410,7 +410,7 @@ A tuple of `(CcLinkingContext, CcLinkingOutputs)` containing the linking
410
410
## swift_common.extract_symbol_graph
411
411
412
412
<pre >
413
- swift_common.extract_symbol_graph(<a href =" #swift_common.extract_symbol_graph-actions " >actions</a >, <a href =" #swift_common.extract_symbol_graph-compilation_contexts " >compilation_contexts</a >, <a href =" #swift_common.extract_symbol_graph-emit_extension_block_symbols " >emit_extension_block_symbols</a >,
413
+ swift_common.extract_symbol_graph(*, <a href =" #swift_common.extract_symbol_graph-actions " >actions</a >, <a href =" #swift_common.extract_symbol_graph-compilation_contexts " >compilation_contexts</a >, <a href =" #swift_common.extract_symbol_graph-emit_extension_block_symbols " >emit_extension_block_symbols</a >,
414
414
<a href =" #swift_common.extract_symbol_graph-feature_configuration " >feature_configuration</a >, <a href =" #swift_common.extract_symbol_graph-include_dev_srch_paths " >include_dev_srch_paths</a >, <a href =" #swift_common.extract_symbol_graph-minimum_access_level " >minimum_access_level</a >,
415
415
<a href =" #swift_common.extract_symbol_graph-module_name " >module_name</a >, <a href =" #swift_common.extract_symbol_graph-output_dir " >output_dir</a >, <a href =" #swift_common.extract_symbol_graph-swift_infos " >swift_infos</a >, <a href =" #swift_common.extract_symbol_graph-swift_toolchain " >swift_toolchain</a >,
416
416
<a href =" #swift_common.extract_symbol_graph-toolchain_type " >toolchain_type</a >)
@@ -441,7 +441,7 @@ Extracts the symbol graph from a Swift module.
441
441
## swift_common.get_toolchain
442
442
443
443
<pre >
444
- swift_common.get_toolchain(<a href =" #swift_common.get_toolchain-ctx " >ctx</a >, <a href =" #swift_common.get_toolchain-exec_group " >exec_group</a >, <a href =" #swift_common.get_toolchain-mandatory " >mandatory</a >, <a href =" #swift_common.get_toolchain-toolchain_type " >toolchain_type</a >, <a href =" #swift_common.get_toolchain-attr " >attr</a >)
444
+ swift_common.get_toolchain(<a href =" #swift_common.get_toolchain-ctx " >ctx</a >, *, <a href =" #swift_common.get_toolchain-exec_group " >exec_group</a >, <a href =" #swift_common.get_toolchain-mandatory " >mandatory</a >, <a href =" #swift_common.get_toolchain-toolchain_type " >toolchain_type</a >, <a href =" #swift_common.get_toolchain-attr " >attr</a >)
445
445
</pre >
446
446
447
447
Gets the Swift toolchain associated with the rule or aspect.
@@ -526,7 +526,7 @@ check it.
526
526
## swift_common.precompile_clang_module
527
527
528
528
<pre >
529
- swift_common.precompile_clang_module(<a href =" #swift_common.precompile_clang_module-actions " >actions</a >, <a href =" #swift_common.precompile_clang_module-cc_compilation_context " >cc_compilation_context</a >, <a href =" #swift_common.precompile_clang_module-exec_group " >exec_group</a >,
529
+ swift_common.precompile_clang_module(*, <a href =" #swift_common.precompile_clang_module-actions " >actions</a >, <a href =" #swift_common.precompile_clang_module-cc_compilation_context " >cc_compilation_context</a >, <a href =" #swift_common.precompile_clang_module-exec_group " >exec_group</a >,
530
530
<a href =" #swift_common.precompile_clang_module-feature_configuration " >feature_configuration</a >, <a href =" #swift_common.precompile_clang_module-module_map_file " >module_map_file</a >, <a href =" #swift_common.precompile_clang_module-module_name " >module_name</a >,
531
531
<a href =" #swift_common.precompile_clang_module-swift_toolchain " >swift_toolchain</a >, <a href =" #swift_common.precompile_clang_module-target_name " >target_name</a >, <a href =" #swift_common.precompile_clang_module-toolchain_type " >toolchain_type</a >, <a href =" #swift_common.precompile_clang_module-swift_infos " >swift_infos</a >)
532
532
</pre >
@@ -560,8 +560,9 @@ A struct containing the precompiled module and optional indexstore directory,
560
560
## swift_common.synthesize_interface
561
561
562
562
<pre >
563
- swift_common.synthesize_interface(<a href =" #swift_common.synthesize_interface-actions " >actions</a >, <a href =" #swift_common.synthesize_interface-compilation_contexts " >compilation_contexts</a >, <a href =" #swift_common.synthesize_interface-feature_configuration " >feature_configuration</a >, <a href =" #swift_common.synthesize_interface-module_name " >module_name</a >,
564
- <a href =" #swift_common.synthesize_interface-output_file " >output_file</a >, <a href =" #swift_common.synthesize_interface-swift_infos " >swift_infos</a >, <a href =" #swift_common.synthesize_interface-swift_toolchain " >swift_toolchain</a >, <a href =" #swift_common.synthesize_interface-toolchain_type " >toolchain_type</a >)
563
+ swift_common.synthesize_interface(*, <a href =" #swift_common.synthesize_interface-actions " >actions</a >, <a href =" #swift_common.synthesize_interface-compilation_contexts " >compilation_contexts</a >, <a href =" #swift_common.synthesize_interface-feature_configuration " >feature_configuration</a >,
564
+ <a href =" #swift_common.synthesize_interface-module_name " >module_name</a >, <a href =" #swift_common.synthesize_interface-output_file " >output_file</a >, <a href =" #swift_common.synthesize_interface-swift_infos " >swift_infos</a >, <a href =" #swift_common.synthesize_interface-swift_toolchain " >swift_toolchain</a >,
565
+ <a href =" #swift_common.synthesize_interface-toolchain_type " >toolchain_type</a >)
565
566
</pre >
566
567
567
568
Extracts the symbol graph from a Swift module.
@@ -586,7 +587,7 @@ Extracts the symbol graph from a Swift module.
586
587
## swift_common.use_toolchain
587
588
588
589
<pre >
589
- swift_common.use_toolchain(<a href =" #swift_common.use_toolchain-mandatory " >mandatory</a >, <a href =" #swift_common.use_toolchain-toolchain_type " >toolchain_type</a >)
590
+ swift_common.use_toolchain(*, <a href =" #swift_common.use_toolchain-mandatory " >mandatory</a >, <a href =" #swift_common.use_toolchain-toolchain_type " >toolchain_type</a >)
590
591
</pre >
591
592
592
593
Returns a list of toolchain types needed to use the Swift toolchain.
0 commit comments