Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show diff #5

Closed
wants to merge 4 commits into from
Closed

Show diff #5

wants to merge 4 commits into from

Conversation

belovdv
Copy link
Owner

@belovdv belovdv commented Jul 29, 2022

Just to look at diff in convenient way

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