You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
duplicated intrinsic implementations linked into libstd, for example 1.73.0-nightly (da6b55cc5 2023-07-17). checked on x86_64-unknown-linux-gnu and x86_64-pc-windows-msvc.
running cargo expand will show, for example, that __adddf3 will be exported via 2 paths: compiler_builtins::float::add::__adddf3 and compiler_builtins::float::add::__adddf3::__adddf3
maybe it's the reason?
think function + implementation: for example __adddf3, where thunk (compiler_builtins::float::add::__adddf3::__adddf3) function is just jump to actual implementation compiler_builtins::float::add::__adddf3
2 copies of the same implementation, for example __ashldi3
2 different implementations (in asm representation), for example __divmodti4
The text was updated successfully, but these errors were encountered:
If it is statically linked into a cdylib, staticlib or executable, the linker will omit it anyway as it is never used. Only for libstd.so would it include it, but libstd.so isn't optimized for size anyway. I guess you could attempt to hide it if it isn't too much effort, but it may not be worth the effort.
duplicated intrinsic implementations linked into libstd, for example 1.73.0-nightly (da6b55cc5 2023-07-17). checked on x86_64-unknown-linux-gnu and x86_64-pc-windows-msvc.
running
cargo expand
will show, for example, that__adddf3
will be exported via 2 paths:compiler_builtins::float::add::__adddf3
andcompiler_builtins::float::add::__adddf3::__adddf3
maybe it's the reason?
There can be few cases:
__adddf3
, where thunk (compiler_builtins::float::add::__adddf3::__adddf3
) function is just jump to actual implementationcompiler_builtins::float::add::__adddf3
__ashldi3
__divmodti4
The text was updated successfully, but these errors were encountered: