Skip to content

Commit

Permalink
add back cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Dec 12, 2024
1 parent 8724a7b commit 48f7c84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BUILD_PLATFORM=linux/amd64
ARG RUST_VERSION=1.83
ARG RUST_VERSION=1.81
FROM --platform=${BUILD_PLATFORM} rust:${RUST_VERSION} AS builder

RUN rustup target add x86_64-unknown-linux-gnu
Expand Down
3 changes: 3 additions & 0 deletions main/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Copyright 2023-2024, Offchain Labs, Inc.
// For licensing, see https://github.com/OffchainLabs/cargo-stylus/blob/main/licenses/COPYRIGHT.md

// Enable unstable test feature for benchmarks when nightly is available
#![cfg_attr(feature = "nightly", feature(test))]

use alloy_primitives::TxHash;
use clap::{ArgGroup, Args, CommandFactory, Parser, Subcommand};
use constants::DEFAULT_ENDPOINT;
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.83.0"
channel = "1.81.0"

0 comments on commit 48f7c84

Please sign in to comment.