Running other file instead of main.rs in same dict

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

surdeus

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