Skip to content

Conversation

belovdv
Copy link
Owner

@belovdv belovdv commented Jul 29, 2022

Just to look at diff in convenient way

belovdv added 3 commits July 29, 2022 17:18
To distinguish objects from different native libraries
TODO: restore LTO, hide change under flag (to be squashed)
&[PathBuf::from(tmpdir)],
);
} else {
cmd.link_staticlib(name, verbatim);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cmd.link_staticlib(name, verbatim);
cmd.link_rlib(name, verbatim);

Тут библиотека должна упоминаться по полному пути а не по имени, для этого надо использовать link(_whole)_rlib, хотя и имя неподходящее, см rust-lang#99773.

@belovdv belovdv closed this Aug 24, 2022
@belovdv belovdv deleted the issue_99429 branch September 12, 2022 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants