From 873f126573d2a1cfb9c1a51caed834f7017bd86e Mon Sep 17 00:00:00 2001 From: Patrick LaFontaine <32135464+Pat-Lafon@users.noreply.github.com> Date: Tue, 31 Oct 2023 13:23:21 -0400 Subject: [PATCH 1/3] Bump Regex --- bril-rs/bril2json/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bril-rs/bril2json/Cargo.toml b/bril-rs/bril2json/Cargo.toml index 0108e7beb..f0fbd7ffa 100644 --- a/bril-rs/bril2json/Cargo.toml +++ b/bril-rs/bril2json/Cargo.toml @@ -16,7 +16,7 @@ keywords = ["compiler", "bril", "parser", "data-structures", "language"] [dependencies] clap = { version = "4.4", features = ["derive"] } lalrpop-util = { version = "0.20", features = ["lexer"] } -regex = "1.9" +regex = "1.10" # Add a build-time dependency on the lalrpop library: [build-dependencies] From 7e2a827cd125ffb871beb09d653b13a39670871d Mon Sep 17 00:00:00 2001 From: Patrick LaFontaine <32135464+Pat-Lafon@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:47:45 -0500 Subject: [PATCH 2/3] Add clippy lint to generated code --- bril-rs/bril2json/src/bril_grammar.lalrpop | 1 + 1 file changed, 1 insertion(+) diff --git a/bril-rs/bril2json/src/bril_grammar.lalrpop b/bril-rs/bril2json/src/bril_grammar.lalrpop index c35621050..73ad127af 100644 --- a/bril-rs/bril2json/src/bril_grammar.lalrpop +++ b/bril-rs/bril2json/src/bril_grammar.lalrpop @@ -17,6 +17,7 @@ #![allow(clippy::match_same_arms)] #![allow(clippy::option_if_let_else)] #![allow(clippy::extra_unused_lifetimes)] +#![allow(clippy::needless_raw_string_hashes)] use std::str::FromStr; use std::path::PathBuf; From 4a1c782609a01d790211ceaf498c26c2fbec41e0 Mon Sep 17 00:00:00 2001 From: Patrick LaFontaine <32135464+Pat-Lafon@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:23:45 -0500 Subject: [PATCH 3/3] Add a requirements section to brillvm --- bril-rs/brillvm/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bril-rs/brillvm/README.md b/bril-rs/brillvm/README.md index c6117bd3d..051b5fc19 100644 --- a/bril-rs/brillvm/README.md +++ b/bril-rs/brillvm/README.md @@ -1,5 +1,12 @@ # Brillvm +## Requirements + +You should probably have the expected LLVM version for this tool to work. In +general, that is a moving target and is specified in the `Cargo.toml` by the +feature flag used for `Inkwell`, the safe LLVM/Rust bindings. This version will +be updated as Inkwell gets new support, within the constraints of the rust compiler. + ## Runtime You must have a linkable runtime library available in the LLVM bc format. You can get this by calling `make rt`