Skip to content

Commit

Permalink
Merge pull request #306 from Pat-Lafon/main
Browse files Browse the repository at this point in the history
bril2json clippy fix && Note LLVM version
  • Loading branch information
sampsyo authored Dec 15, 2023
2 parents daaff28 + 4a1c782 commit 3413310
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bril-rs/bril2json/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 1 addition & 0 deletions bril-rs/bril2json/src/bril_grammar.lalrpop
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 7 additions & 0 deletions bril-rs/brillvm/README.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down

0 comments on commit 3413310

Please sign in to comment.