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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user