1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-15 00:04:58 +02:00

Update Cargo.toml on dev check

This commit is contained in:
mo8it
2024-04-16 03:30:28 +02:00
parent d1ebbaa6f6
commit aa813fbce1
4 changed files with 20 additions and 7 deletions

View File

@ -8,7 +8,7 @@ use std::{
use crate::{embedded::EMBEDDED_FILES, info_file::ExerciseInfo};
fn cargo_toml(exercise_infos: &[ExerciseInfo]) -> Vec<u8> {
pub fn cargo_toml(exercise_infos: &[ExerciseInfo]) -> Vec<u8> {
let mut cargo_toml = Vec::with_capacity(1 << 13);
cargo_toml.extend_from_slice(b"bin = [\n");
for exercise_info in exercise_infos {