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.
@@ -101,7 +99,6 @@ Warning: Arbitrarily-set configuration options can clash with compiler-set confi
10199
102100r[ cfg.target_arch]
103101
104-
105102r[ cfg.target_arch.gen]
106103Key-value option set once with the target's CPU architecture. The value is
107104similar to the first element of the platform's target triple, but not
@@ -122,7 +119,6 @@ Example values:
122119
123120r[ cfg.target_feature]
124121
125-
126122r[ cfg.target_feature.general]
127123Key-value option set for each platform feature available for the current
128124compilation target.
@@ -149,7 +145,6 @@ An additional feature of `crt-static` is available to the
149145
150146r[ cfg.target_os]
151147
152-
153148r[ cfg.target_os.general]
154149Key-value option set once with the target's operating system. This value is
155150similar to the second and third element of the platform's target triple.
@@ -172,7 +167,6 @@ Example values:
172167
173168r[ cfg.target_family]
174169
175-
176170r[ cfg.target_family.general]
177171Key-value option providing a more generic description of a target, such as the family of the
178172operating systems or architectures that the target generally falls into. Any number of
@@ -220,7 +214,6 @@ Example values:
220214
221215r[ cfg.target_abi]
222216
223-
224217r[ cfg.target_abi.general]
225218Key-value option set to further disambiguate the ` target_env ` with information
226219about the target ABI.
@@ -250,7 +243,6 @@ on the endianness of the target's CPU.
250243
251244r[ cfg.target_poitner_width]
252245
253-
254246r[ cfg.target_pointer_width.general]
255247Key-value option set once with the target's pointer width in bits.
256248
@@ -265,7 +257,6 @@ Example values:
265257
266258r[ cfg.target_vendor]
267259
268-
269260r[ cfg.target_vendor.general]
270261Key-value option set once with the vendor of the target.
271262
@@ -281,7 +272,6 @@ Example values:
281272
282273r[ cfg.target_has_atomic]
283274
284-
285275r[ cfg.target_has_atomic.general]
286276Key-value option set for each bit width that the target supports
287277atomic loads, stores, and compare-and-swap operations.
@@ -329,7 +319,6 @@ Set when the crate being compiled is being compiled with the `proc_macro`
329319
330320r[ cfg.panic]
331321
332-
333322r[ cfg.panic.general]
334323Key-value option set depending on the panic strategy. Note that more values may be added in the future.
335324
@@ -345,7 +334,6 @@ Example values:
345334
346335r[ cfg.attr]
347336
348-
349337r[ cfg.attr.syntax]
350338> ** <sup >Syntax</sup >** \
351339> _ CfgAttrAttribute_ :\
@@ -414,7 +402,6 @@ The `cfg` attribute is allowed anywhere attributes are allowed.
414402
415403r[ cfg.cfg_attr]
416404
417-
418405r[ cfg.cfg_attr.syntax]
419406> ** <sup >Syntax</sup >** \
420407> _ CfgAttrAttribute_ :\
@@ -423,7 +410,6 @@ r[cfg.cfg_attr.syntax]
423410> _ CfgAttrs_ :\
424411>   ;  ; [ _ Attr_ ]   ; (` , ` [ _ Attr_ ] )<sup >\* </sup > ` , ` <sup >?</sup >
425412
426-
427413r[ cfg.cfg_attr.general]
428414The ` cfg_attr ` [ attribute] conditionally includes [ attributes] based on a
429415configuration predicate.
0 commit comments