summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-11-04 16:44:34 +0100
committerGitHub <noreply@github.com>2021-11-04 16:44:34 +0100
commit44511e4f330e2d7099a16ed836629fa73dde9831 (patch)
tree7be25493513d50314ab71452693b317ef4194a49 /Cargo.lock
parentefe956b4fd51818e3a982b9d7c4111c408d07291 (diff)
feat(runtime): give OS errors .code attributes (#12591)
This adds `.code` attributes to errors returned by the op-layer, facilitating classifying OS errors and helping node-compat. Similar to Node, these `.code` attributes are stringified names of unix ERRNOs, the mapping tables are generated by [tools/codegen_error_codes.js](https://gist.github.com/AaronO/dfa1106cc6c7e2a6ebe4dba9d5248858) and derived from libuv and rust's std internals
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock5
1 files changed, 3 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 36b6299f5..dc58dc695 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -744,6 +744,7 @@ dependencies = [
"futures",
"indexmap",
"lazy_static",
+ "libc",
"log",
"parking_lot",
"pin-project",
@@ -2021,9 +2022,9 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.103"
+version = "0.2.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd8f7255a17a627354f321ef0055d63b898c6fb27eff628af4d1b66b7331edf6"
+checksum = "a60553f9a9e039a333b4e9b20573b9e9b9c0bb3a11e201ccc48ef4283456d673"
[[package]]
name = "libffi"