Skip to content

Commit

Permalink
fix: fail to compile on 32-bit systems
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Mar 9, 2023
1 parent c9d355b commit 9d2394e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions applications/tari_base_node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#[cfg(target_pointer_width = "32")]
compile_error!("32-bit architectures are not supported");

#[macro_use]
mod table;

Expand Down
3 changes: 3 additions & 0 deletions applications/tari_console_wallet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#[cfg(target_pointer_width = "32")]
compile_error!("32-bit architectures are not supported");

mod automation;
mod cli;
mod config;
Expand Down
3 changes: 3 additions & 0 deletions applications/tari_merge_mining_proxy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#[cfg(target_pointer_width = "32")]
compile_error!("32-bit architectures are not supported");

mod block_template_data;
mod block_template_protocol;
mod cli;
Expand Down
3 changes: 3 additions & 0 deletions applications/tari_miner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#[cfg(target_pointer_width = "32")]
compile_error!("32-bit architectures are not supported");

mod cli;
pub use cli::Cli;
use tari_common::exit_codes::ExitError;
Expand Down

0 comments on commit 9d2394e

Please sign in to comment.