cs431
cs431 copied to clipboard
[Question] Running cargo run tcp giving error
I have completed the TCP part of Homework 1, It is passing all the test cases successfully.
But while running
cargo run tcp
getting below error
cargo run hello_server error: target
hello_serverin package
cs431-homeworkrequires the features:
build-binConsider enabling them by passing, e.g.,
--features="build-bin"``
How to solve it
What are you trying to achieve? Do you want to run the hello_server binary? Then you should run the recommended command in the error message, 'cargo run hello_server --features="build-bin"'. If you want to run the tests for tcp, run 'cargo test tcp'