Skip to content

Instantly share code, notes, and snippets.

View cart's full-sized avatar

Carter Anderson cart

View GitHub Profile
use serde::{Deserialize, Serialize};
use std::{collections::HashMap, fs::read_to_string};
#[derive(Serialize, Deserialize, Debug)]
struct BloatOutput {
#[serde(alias = "file-size")]
file_size: usize,
#[serde(alias = "text-section-size")]
text_section_size: usize,
functions: Vec<Function>,