Skip to content

Commit

Permalink
Remove --bin mediator to suppress a warning
Browse files Browse the repository at this point in the history
warning: Cargo.toml: file `main.rs` found to be
present in multiple build targets
  • Loading branch information
fadeevab committed May 8, 2023
1 parent 134c0f6 commit 807315f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- run: cargo run --bin chain-of-responsibility
- run: cargo build --bin command # TUI. It can run on the local machine.
- run: cargo run --bin iterator
- run: cargo run --bin mediator
- run: cargo run --bin mediator-top-down
- run: cargo run --bin mediator-rc-refcell
- run: cargo run --bin memento
Expand Down
4 changes: 0 additions & 4 deletions behavioral/mediator/mediator-top-down/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ edition = "2021"
name = "mediator-top-down"
version = "0.1.0"

[[bin]]
name = "mediator"
path = "main.rs"

[[bin]]
name = "mediator-top-down"
path = "main.rs"

0 comments on commit 807315f

Please sign in to comment.