Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions rust/ruby-rbs/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,10 @@ fn generate(config: &Config) -> Result<(), Box<dyn Error>> {
writeln!(file, "// Nodes to generate: {}", config.nodes.len())?;
writeln!(file)?;

// TODO: Go through all of the nodes and generate the structs to back them up
for node in &config.nodes {
writeln!(file, "#[allow(dead_code)]")?; // TODO: Remove this once all nodes that need parser are implemented
writeln!(file, "#[derive(Debug)]")?;
writeln!(file, "pub struct {} {{", node.rust_name)?;
writeln!(file, " #[allow(dead_code)]")?;
writeln!(file, " parser: *mut rbs_parser_t,")?;
writeln!(
file,
Expand Down
Loading