Skip to content

Commit

Permalink
bump rust
Browse files Browse the repository at this point in the history
  • Loading branch information
nbittich committed Mar 21, 2024
1 parent 84eac33 commit 1455fd9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description = "namespaces aliases for command lines & basic scripting language"
homepage = "https://github.com/nbittich/adana"
repository = "https://github.com/nbittich/adana"
readme = "README.md"
rust-version = "1.76"
rust-version = "1.77"
edition = "2021"
license = "MIT"
exclude = ["vscode/", "dist/", ".vscode", ".history", ".git", ".github"]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ My favorite dish 😋
1. Docker
- From the docker hub:
- `docker run -it nbittich/adana # latest from master`
- `docker run -it nbittich/adana:v0.17.4 # latest release`
- `docker run -it nbittich/adana:v0.17.8 # latest release`
- Manually:
- clone the repo
- build the docker image: `docker build -t adana .`
Expand Down Expand Up @@ -384,7 +384,7 @@ If it is not installed yet, you will see instructions on how to install it, e.g:
std lib doesn't exist: "/home/nbittich/.local/share/adana/lib/adana-std/fs.so".
Try to install it like so:
- wget -P /tmp https://github.com/nbittich/adana-std/releases/download/0.17.0/adana-std.tar.gz
- wget -P /tmp https://github.com/nbittich/adana-std/releases/download/0.17.8/adana-std.tar.gz
- mkdir /home/nbittich/.local/share/adana/lib/adana-std && tar xvzf /tmp/adana-std.tar.gz \
-C /home/nbittich/.local/share/adana/lib/adana-std
```
Expand Down
1 change: 1 addition & 0 deletions adana-db/src/file_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ impl FileLock {
let _ = File::options()
.write(true)
.create(true)
.truncate(true)
.open(&self.inner_p)
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion adana-script/src/require_dynamic_lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#[cfg(not(target_arch = "wasm32"))]
const STD_DOWNLOAD_URI: &str =
"https://github.com/nbittich/adana-std/releases/download/0.17.0/adana-std.tar.gz";
"https://github.com/nbittich/adana-std/releases/download/0.17.8/adana-std.tar.gz";

#[cfg(not(target_arch = "wasm32"))]
use std::process::{Command, Stdio};
Expand Down
2 changes: 1 addition & 1 deletion adana-script/src/tests/foreach.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ fn test_foreach_struct() {
let _ = compute(expr, &mut ctx, "N/A").unwrap();

let result = ctx["result"].read().unwrap();
let _expected = vec![
let _expected = [
Primitive::String(
r#"Id: 0 Key: members Value: ["natalie", "roger", "fred"]"#.into(),
),
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.76"
channel = "1.77"

0 comments on commit 1455fd9

Please sign in to comment.