Skip to content

Commit

Permalink
stable change
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Jan 29, 2025
1 parent 2a68bdf commit e2ff413
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_binaries.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"name": "linux-x86_64",
"runs-on": "ubuntu-20.04",
"rust": "nightly-2024-07-07",
"rust": "stable",
"target": "x86_64-unknown-linux-gnu",
"cross": false,
"build_metric": true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
# TS_BUILD: "debug"
TS_BUILD: "release"
TARI_NETWORK_DIR: testnet
toolchain: nightly-2024-07-07
toolchain: stable
matrix-json-file: ".github/workflows/build_binaries.json"
CARGO_HTTP_MULTIPLEXING: false
CARGO_UNSTABLE_SPARSE_REGISTRY: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_dockers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ name: Build docker images
- xmrig

env:
toolchain_default: nightly-2024-07-07
toolchain_default: stable

concurrency:
# https://docs.github.com/en/actions/examples/using-concurrency-expressions-and-a-test-matrix
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_dockers_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: Build docker images - workflow_call/on-demand
toolchain:
type: string
description: 'Rust toolchain'
default: nightly-2024-07-07
default: stable
arch:
type: string
default: x86-64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: CI
merge_group:

env:
toolchain: nightly-2024-07-07
toolchain: stable
CARGO_HTTP_MULTIPLEXING: false
CARGO_TERM_COLOR: always
CARGO_UNSTABLE_SPARSE_REGISTRY: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name: Source Coverage
- ci-coverage-*

env:
toolchain: nightly-2024-07-07
toolchain: stable

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ name: Integration tests
type: string

env:
toolchain: nightly-2024-07-07
toolchain: stable

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
1 change: 0 additions & 1 deletion base_layer/core/src/chain_storage/horizon_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,5 @@ mod test {
obj.kernel_sum();
obj.utxo_sum();
drop(obj.clone());
format!("{:?}", obj);
}
}
4 changes: 2 additions & 2 deletions base_layer/wallet_ffi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ Install [Rust](https://www.rust-lang.org/tools/install)

Install the following tools and system images
```Shell Script
rustup toolchain add nightly-2024-07-07
rustup default nightly-2024-07-07
rustup toolchain add stable
rustup default stable
rustup component add rustfmt --toolchain nightly
rustup component add clippy
rustup target add x86_64-apple-ios aarch64-apple-ios # iPhone and emulator cross compiling
Expand Down
4 changes: 2 additions & 2 deletions buildtools/docker/base_node.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# syntax=docker/dockerfile:1
#FROM rust:1.42.0 as builder
FROM quay.io/tarilabs/rust_tari-build-with-deps:nightly-2024-07-07 as builder
FROM quay.io/tarilabs/rust_tari-build-with-deps:stable as builder

# Copy the dependency lists
#ADD Cargo.toml ./
ADD . /minotari_node
WORKDIR /minotari_node

# RUN rustup component add rustfmt --toolchain nightly-2024-07-07-x86_64-unknown-linux-gnu
# RUN rustup component add rustfmt --toolchain stable-x86_64-unknown-linux-gnu
#ARG TBN_ARCH=native
ARG TBN_ARCH=x86-64
#ARG TBN_FEATURES=avx2
Expand Down
2 changes: 1 addition & 1 deletion buildtools/windows-dev-environment-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ sample output:
```
PS C:\Users\leet> cd src\tari
PS C:\Users\leet\src\tari> cargo build --release --bin minotari_miner
info: syncing channel updates for 'nightly-2024-07-07-x86_64-pc-windows-msvc'
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: latest update on 2024-07-07, rust version 1.81.0-nightly (ed7e35f34 2024-07-06)
info: downloading component 'cargo'
info: downloading component 'clippy'
Expand Down
1 change: 1 addition & 0 deletions integration_tests/src/chat_ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ pub struct ChatCallback {
pub read_confirmation_received: Mutex<u64>,
}

#[allow(static_mut_refs)]
impl ChatCallback {
pub fn instance() -> &'static mut Self {
unsafe {
Expand Down
1 change: 1 addition & 0 deletions integration_tests/src/ffi/callbacks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ impl Callbacks {
println!("wallet {:?}", self.wallet);
}

#[allow(static_mut_refs)]
pub fn instance() -> &'static mut Self {
unsafe {
START.call_once(|| {
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# - the CI files in .github folder
# - the Makefile in base_layer/key_manager/Makefile
[toolchain]
channel = "nightly-2024-07-07"
channel = "stable"
4 changes: 2 additions & 2 deletions scripts/test_in_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# Run the Tari test suite locally inside a suitable docker container

IMAGE=quay.io/tarilabs/rust_tari-build-with-deps:nightly-2024-07-07
TOOLCHAIN_VERSION=nightly-2024-07-07
IMAGE=quay.io/tarilabs/rust_tari-build-with-deps:stable
TOOLCHAIN_VERSION=stable
CONTAINER=tari_test

echo "Deleting old container"
Expand Down

0 comments on commit e2ff413

Please sign in to comment.