mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
Prepare for 0.14.0 release
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
be perfectly panic safe as far as *internal* invariants are concerned, but
|
||||
(afaict) they should not be marked as `RefUnwindSafe` due to internal
|
||||
mutability and thus potentially breaking *user* invariants.
|
||||
- Upgrade to require `cc` 1.0.
|
||||
- Several Lua stack checking bugs have been fixed that could have lead to
|
||||
unsafety in release mode.
|
||||
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ builtin-lua = ["cc"]
|
||||
|
||||
[dependencies]
|
||||
libc = { version = "0.2" }
|
||||
failure = { git = "https://github.com/rust-lang-nursery/failure", version = "1.0" }
|
||||
failure = { version = "0.1.1" }
|
||||
compiletest_rs = { version = "0.3", optional = true }
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@@ -5,7 +5,7 @@ below:
|
||||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 Chucklefish LTD
|
||||
Copyright (c) 2017
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# rlua -- High level bindings between Rust and Lua
|
||||
|
||||
[](https://travis-ci.org/chucklefish/rlua)
|
||||
[](https://travis-ci.org/kyren/rlua)
|
||||
[](https://crates.io/crates/rlua)
|
||||
[](https://docs.rs/rlua)
|
||||
|
||||
|
||||
+4
-1
@@ -185,7 +185,10 @@ impl failure::Fail for Error {
|
||||
fn cause(&self) -> Option<&failure::Fail> {
|
||||
match *self {
|
||||
Error::CallbackError { ref cause, .. } => Some(cause.as_ref()),
|
||||
Error::ExternalError(ref err) => err.as_fail().cause(),
|
||||
// Error::cause simply returns the contained Fail type, which we are already displaying
|
||||
// and returning the backtrace for, no need to repeat it as the cause.
|
||||
// When failure 1.0 is released, this can become `err.as_fail.cause()`
|
||||
Error::ExternalError(ref err) => err.cause().cause(),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user