Project

General

Profile

Actions

Bug #2197

closed

rust build with lua enabled fails on x86

Added by Pierre Chifflier over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

When building on x86 with lua enabled (or, for ex, using cargo build --all-features), the build fails:

error[E0308]: mismatched types
  --> src/lua.rs:46:36
   |
46 |             lua_settable(self.lua, idx);
   |                                    ^^^ expected i32, found i64
error[E0308]: mismatched types
  --> src/lua.rs:58:39
   |
58 |             lua_pushinteger(self.lua, val);
   |                                       ^^^ expected i32, found i64

Actions #1

Updated by Victor Julien over 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF