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

[inetstack] Moving In Source tree #162

Merged
merged 2 commits into from
Sep 9, 2022
Merged

Conversation

ppenna
Copy link
Contributor

@ppenna ppenna commented Sep 8, 2022

Description

In this PR I move in the inetstack and runtime source trees.

@ppenna ppenna added the enhancement Enhancement Request on an Existing Feature label Sep 8, 2022
@ppenna ppenna self-assigned this Sep 8, 2022
@ppenna ppenna force-pushed the enhancement-inetstack-src-tree branch from 182d39b to 4542ccb Compare September 8, 2022 19:04
@ppenna ppenna changed the title Enhancement inetstack src tree [inetstack] Moving In Source tree Sep 8, 2022
@@ -5,6 +5,22 @@
#![deny(clippy::all)]
#![feature(maybe_uninit_uninit_array, new_uninit)]
#![feature(try_blocks)]
#![cfg_attr(feature = "strict", deny(clippy:all))]
Copy link
Contributor

Choose a reason for hiding this comment

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

Just out of curiosity (this was also present in the old inetstack/src/lib.rs these were apparently pulled from) does this actually do anything different if feature "strict" is specified? Since there is a non-qualified "deny(clippy:all)" up on line 5?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is redundant. I shall now get the integration cleaner. Thanks for noting this.

libdpdk = [ "dpdk-rs" ]
mlx4 = [ "dpdk-rs/mlx4" ]
mlx5 = [ "dpdk-rs/mlx5" ]
profiler = [ ]


[profile.release]
Copy link
Contributor

Choose a reason for hiding this comment

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

Inetstack's Cargo.toml (which appears to have been folded into here) also had a "profile.dev" for debug builds. Do we not want that here? Or is it covered by something somewhere else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well noted. I'm working on this.

Copy link
Contributor

@BrianZill BrianZill left a comment

Choose a reason for hiding this comment

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

This looks good to me, so long as my comment on Cargo.toml isn't relevant.

And I did actually review every file (you must be exhausted from fixing up all those namespace use statements). I didn't flag the inconsistency between specifying things via super vs. self vs. crate since we've never been consistent about that before, although at some point we should probably go through everything and fix those.

Copy link
Contributor

@anandbonde anandbonde left a comment

Choose a reason for hiding this comment

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

Looks good to me (once Brian's comment on the Cargo.toml is addressed).

Once this is merged, I will attempt to build this combined repo on Windows.

@ppenna ppenna merged commit 2f75bbc into dev Sep 9, 2022
@ppenna ppenna deleted the enhancement-inetstack-src-tree branch September 9, 2022 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement Request on an Existing Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants