1
Fork 0

Add the relocation_model to the cfg

This way is possible to write inline assembly code aware of it.
This commit is contained in:
Luca Barbato 2023-07-22 17:16:18 +02:00
parent 2ceed0b6cb
commit c0394c8ac0
8 changed files with 86 additions and 12 deletions

View file

@ -468,6 +468,7 @@ symbols! {
cfg_hide,
cfg_overflow_checks,
cfg_panic,
cfg_relocation_model,
cfg_sanitize,
cfg_target_abi,
cfg_target_compact,
@ -661,6 +662,7 @@ symbols! {
dyn_metadata,
dyn_star,
dyn_trait,
dynamic_no_pic: "dynamic-no-pic",
e,
edition_panic,
effects,
@ -1115,6 +1117,8 @@ symbols! {
path,
pattern_parentheses,
phantom_data,
pic,
pie,
pin,
platform_intrinsics,
plugin,
@ -1223,6 +1227,7 @@ symbols! {
register_tool,
relaxed_adts,
relaxed_struct_unsize,
relocation_model,
rem,
rem_assign,
repr,
@ -1243,6 +1248,8 @@ symbols! {
rintf64,
riscv_target_feature,
rlib,
ropi,
ropi_rwpi: "ropi-rwpi",
rotate_left,
rotate_right,
roundevenf32,
@ -1354,6 +1361,7 @@ symbols! {
rustdoc_missing_doc_code_examples,
rustfmt,
rvalue_static_promotion,
rwpi,
s,
safety,
sanitize,