Running other file instead of main.rs in same dict

⚓ Rust    📅 2026-02-17    👤 surdeus    👁️ 9      

surdeus

Warning

This post was published 62 days ago. The information described in this article may have changed.

I have been learning rust, so was running the command of cargo run but it was only running the main.rs not second.rs. So my question is that; is there any way for me to second.rs instead of main.rs

2 posts - 2 participants

Read full topic

🏷️ Rust_feed