Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Fixup onefuzz-task dependencies - #3552

Merged
George Pollard (Porges) merged 3 commits into
mainfrom
fixup-onefuzz-task-layout
Oct 5, 2023
Merged

Fixup onefuzz-task dependencies#3552
George Pollard (Porges) merged 3 commits into
mainfrom
fixup-onefuzz-task-layout

Conversation

@Porges

@PorgesGeorge Pollard (Porges) commented Oct 5, 2023

Copy link
Copy Markdown
Member

Both the bin and lib for onefuzz-task include the same modules, which means some code is being compiled twice, and this leads to confusing errors if you update the bin code and not the lib code (e.g. adding new modules or something similar).

Instead, make the bin code depend on the lib code.

Also remove extern crate and macro_use, which are an older way of doing things. Macros are simply imported now.

@Porges
George Pollard (Porges) marked this pull request as ready for review October 5, 2023 21:10
@codecov-commenter

Codecov Comments Bot (codecov-commenter) commented Oct 5, 2023

Copy link
Copy Markdown

Codecov Report

Merging #3552 (3e85571) into main (003c9ac) will not change coverage.
The diff coverage is 0.00%.

@@ Coverage Diff @@## main #3552 +/- ##
=======================================
Coverage 38.97% 38.97% =======================================
Files 301 301 Lines 36848 36848 =======================================
Hits 14363 14363 Misses 22485 22485 
FilesCoverage Δ
src/agent/onefuzz-task/src/check_for_update.rs0.00% <ø> (ø)
src/agent/onefuzz-task/src/managed/cmd.rs0.00% <0.00%> (ø)
src/agent/onefuzz-task/src/main.rs0.00% <0.00%> (ø)

@Porges
George Pollard (Porges) deleted the fixup-onefuzz-task-layout branch October 5, 2023 21:28
@AdamL-MicrosoftAdam (AdamL-Microsoft) mentioned this pull request Oct 6, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Porges@codecov-commenter@chkeita@kananb