-
Notifications
You must be signed in to change notification settings - Fork 154
Remove some dev-dependecies and cargo features to speed up compilation #535
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
Conversation
ac4c80c to
2929107
Compare
simongdavies
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you test that the instructions at https://github.com/hyperlight-dev/hyperlight/blob/main/docs/hyperlight-metrics-logs-and-traces.md#using-otlp-exporter-and-jaeger still work?
dblnz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to solve conflict
dcf6f4f to
e30d48e
Compare
fixed
yes |
e30d48e to
ff471dc
Compare
Signed-off-by: Ludvig Liljenberg <[email protected]>
Signed-off-by: Ludvig Liljenberg <[email protected]>
…hread::scope with std::thread::scope Signed-off-by: Ludvig Liljenberg <[email protected]>
Signed-off-by: Ludvig Liljenberg <[email protected]>
ff471dc to
bc3ccee
Compare
jprendes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Decrease the amount of crates we have to compile.
cargo testgoes from compiling 382 crates to 358.cargo buildgoes from 164 to 160.On my machine:
cargo buildgoes from 28.1s to 26.8scargo testgoes from 84.4s to 65.5sNote that the
builtcrate (behind default featurebuild-metadata) brings in roughly 60 crates and the build script takes roughly 20s on my machine due to bringing in libgit2-sys. Disabling this feature bringscargo builddown to only 98 crates, and cuts complication time by 60%. Should we makebuild-metadatafeature off-by-default?