Skip to content

Commit 69f14be

Browse files
committed
updating to nightlies
1 parent 43eb55e commit 69f14be

File tree

7 files changed

+24
-6
lines changed

7 files changed

+24
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 node:lts-bookworm-slim
1+
FROM ubuntu:24.04
22
SHELL ["/bin/bash", "-c"]
33
RUN apt update && apt install -y curl bash git tar gzip libc++-dev unzip jq
44
RUN curl -fsSL https://bun.sh/install | bash
@@ -8,5 +8,5 @@ RUN echo "PATH=$PATH:/home/codespace/.nargo/bin:$PATH" >> ~/.zshrc
88
RUN echo "PATH=$PATH:/home/codespace/.bb:$PATH" >> ~/.zshrc
99
RUN . ~/.zshrc
1010
RUN . ~/.bashrc
11-
RUN /root/.nargo/bin/noirup
12-
RUN /root/.bb/bbup -v 0.72.1
11+
RUN /root/.nargo/bin/noirup -n
12+
RUN /root/.bb/bbup -v 0.80.0

.devcontainer/devcontainer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,5 @@
1515
"extensions": ["noir-lang.vscode-noir"]
1616
}
1717
},
18-
"features": {
19-
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
20-
}
18+
"features": {}
2119
}

test/Nargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[package]
2+
name = "test"
3+
type = "bin"
4+
authors = [""]
5+
6+
[dependencies]

test/Prover.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
x = 1
2+
y = 2

test/src/main.nr

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
fn main(x: Field, y: pub Field) {
2+
assert(x != y);
3+
}
4+
5+
#[test]
6+
fn test_main() {
7+
main(1, 2);
8+
9+
// Uncomment to make test fail
10+
// main(1, 1);
11+
}

test/target/test.gz

93 Bytes
Binary file not shown.

test/target/test.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"noir_version":"1.0.0-beta.3+cae4216d70dbe04358eac4b29ea9719fff715bef","hash":"5392680307372705508","abi":{"parameters":[{"name":"x","type":{"kind":"field"},"visibility":"private"},{"name":"y","type":{"kind":"field"},"visibility":"public"}],"return_type":null,"error_types":{}},"bytecode":"H4sIAAAAAAAA/7VSWw4CIQzkoVG/Ze/R8ljKn1eRyN7/CMYICWH7t+wkZAhthpmCFH+oun64VJZij9bzqgzHgL2Wg9X7Em1Bh2+wKVMAH/JKSBgofCw5V8hTTDlFSOhdwS0kt1UxOc8XSCbzKeHV5AGozvhMXe5TSOZsrD0GXrq6njjLpm/O0Ycbk3Hp9mbIyb0DHETT05WvYg811FrvffAn5/vD0Ytm7mp4VjbdWZvnF3hgTpCVBAAA","debug_symbols":"lY1LCsMwDETvorUXDSQbX6WU4I8cBMY2sl0oJnevEhrItju9edJogEfbt5VSyBX0c0DMzjTKSWjA44xqMemg2gw30POiAJMHvUy7gkARZZz3l4Lpn3UByxQjbev9p8Rvw2RsxB+GntzNtk+5zHVfODv0nfFoOp3UfwE=","file_map":{"54":{"source":"fn main(x: Field, y: pub Field) {\n assert(x != y);\n}\n\n#[test]\nfn test_main() {\n main(1, 2);\n\n // Uncomment to make test fail\n // main(1, 1);\n}\n","path":"/workspaces/tiny-noir-codespace/test/src/main.nr"}},"names":["main"],"brillig_names":["directive_invert"]}

0 commit comments

Comments
 (0)