22
33r[ cfg]
44
5-
65r[ cfg.syntax]
76> ** <sup >Syntax</sup >** \
87> _ ConfigurationPredicate_ :\
@@ -69,7 +68,6 @@ Keys do not need to be unique. For example, both `feature = "std"` and `feature
6968
7069r[ cfg.options.set]
7170
72-
7371r[ cfg.options.general]
7472Which configuration options are set is determined statically during the
7573compilation of the crate.
@@ -98,7 +96,6 @@ configuration option from within the source code of the crate being compiled.
9896
9997r[ cfg.target_arch]
10098
101-
10299r[ cfg.target_arch.gen]
103100Key-value option set once with the target's CPU architecture. The value is
104101similar to the first element of the platform's target triple, but not
@@ -119,7 +116,6 @@ Example values:
119116
120117r[ cfg.target_feature]
121118
122-
123119r[ cfg.target_feature.general]
124120Key-value option set for each platform feature available for the current
125121compilation target.
@@ -146,7 +142,6 @@ An additional feature of `crt-static` is available to the
146142
147143r[ cfg.target_os]
148144
149-
150145r[ cfg.target_os.general]
151146Key-value option set once with the target's operating system. This value is
152147similar to the second and third element of the platform's target triple.
@@ -169,7 +164,6 @@ Example values:
169164
170165r[ cfg.target_family]
171166
172-
173167r[ cfg.target_family.general]
174168Key-value option providing a more generic description of a target, such as the family of the
175169operating systems or architectures that the target generally falls into. Any number of
@@ -217,7 +211,6 @@ Example values:
217211
218212r[ cfg.target_abi]
219213
220-
221214r[ cfg.target_abi.general]
222215Key-value option set to further disambiguate the ` target_env ` with information
223216about the target ABI.
@@ -247,7 +240,6 @@ on the endianness of the target's CPU.
247240
248241r[ cfg.target_poitner_width]
249242
250-
251243r[ cfg.target_pointer_width.general]
252244Key-value option set once with the target's pointer width in bits.
253245
@@ -262,7 +254,6 @@ Example values:
262254
263255r[ cfg.target_vendor]
264256
265-
266257r[ cfg.target_vendor.general]
267258Key-value option set once with the vendor of the target.
268259
@@ -278,7 +269,6 @@ Example values:
278269
279270r[ cfg.target_has_atomic]
280271
281-
282272r[ cfg.target_has_atomic.general]
283273Key-value option set for each bit width that the target supports
284274atomic loads, stores, and compare-and-swap operations.
@@ -325,7 +315,6 @@ Set when the crate being compiled is being compiled with the `proc_macro`
325315
326316r[ cfg.panic]
327317
328-
329318r[ cfg.panic.general]
330319Key-value option set depending on the panic strategy. Note that more values may be added in the future.
331320
@@ -341,7 +330,6 @@ Example values:
341330
342331r[ cfg.attr]
343332
344-
345333r[ cfg.attr.syntax]
346334> ** <sup >Syntax</sup >** \
347335> _ CfgAttrAttribute_ :\
@@ -410,7 +398,6 @@ The `cfg` attribute is allowed anywhere attributes are allowed.
410398
411399r[ cfg.cfg_attr]
412400
413-
414401r[ cfg.cfg_attr.syntax]
415402> ** <sup >Syntax</sup >** \
416403> _ CfgAttrAttribute_ :\
@@ -419,7 +406,6 @@ r[cfg.cfg_attr.syntax]
419406> _ CfgAttrs_ :\
420407>   ;  ; [ _ Attr_ ]   ; (` , ` [ _ Attr_ ] )<sup >\* </sup > ` , ` <sup >?</sup >
421408
422-
423409r[ cfg.cfg_attr.general]
424410The ` cfg_attr ` [ attribute] conditionally includes [ attributes] based on a
425411configuration predicate.
0 commit comments