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

feat: automatically set cdylib library type at build time #212

Merged
merged 14 commits into from
Jun 15, 2022

Conversation

bmoxb
Copy link
Contributor

@bmoxb bmoxb commented Jun 10, 2022

In an effort to 'hide the magic' of Shuttle, this PR means that users no longer have to specify crate-type = ["cdylib"] in their project Cargo.toml manifest file.

@bmoxb bmoxb force-pushed the feat/automatic-cdylib branch from 6ab31db to b5a7daa Compare June 12, 2022 22:46
@bmoxb bmoxb force-pushed the feat/automatic-cdylib branch from b5a7daa to c4cc13b Compare June 12, 2022 23:43
@nodard
Copy link
Contributor

nodard commented Jun 13, 2022

Task linked: CU-2f9b5r3 Automatically add "cdylib" flag on building a shuttle-service

Copy link
Contributor

@chesedo chesedo left a comment

Choose a reason for hiding this comment

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

Just love this PR 😍 Thanks @bmoxb

service/tests/build_crate.rs Outdated Show resolved Hide resolved
@bmoxb
Copy link
Contributor Author

bmoxb commented Jun 15, 2022

Thank you thank you @chesedo :) I've updated the test in question, will merge once CI is happy

@bmoxb bmoxb merged commit a6982d4 into main Jun 15, 2022
@nahuakang
Copy link
Contributor

I just saw this as I was confused why cdylib disappeared in cargo shuttle init as I resumed working on it. Love this PR :D

@chesedo chesedo deleted the feat/automatic-cdylib branch October 24, 2022 09:54
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.

4 participants