| { | ||
| "git": { | ||
| "sha1": "38327261924aa71059a4cdeeea2286ec88bd9146" | ||
| "sha1": "c4caf5caaa7e93828a2e4a4cdba1dd0171e45717" | ||
| }, | ||
| "path_in_vcs": "" | ||
| } |
+301
-91
@@ -27,2 +27,8 @@ # This file is automatically @generated by Cargo. | ||
| [[package]] | ||
| name = "anyhow" | ||
| version = "1.0.102" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" | ||
| [[package]] | ||
| name = "atty" | ||
@@ -62,5 +68,5 @@ version = "0.2.14" | ||
| name = "bumpalo" | ||
| version = "3.19.1" | ||
| version = "3.20.2" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510" | ||
| checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" | ||
@@ -114,3 +120,3 @@ [[package]] | ||
| "clap_lex", | ||
| "indexmap", | ||
| "indexmap 1.9.3", | ||
| "textwrap", | ||
@@ -230,2 +236,8 @@ ] | ||
| [[package]] | ||
| name = "equivalent" | ||
| version = "1.0.2" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" | ||
| [[package]] | ||
| name = "errno" | ||
@@ -248,5 +260,5 @@ version = "0.3.14" | ||
| name = "flate2" | ||
| version = "1.1.5" | ||
| version = "1.1.9" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" | ||
| checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" | ||
| dependencies = [ | ||
@@ -258,6 +270,12 @@ "crc32fast", | ||
| [[package]] | ||
| name = "foldhash" | ||
| version = "0.1.5" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" | ||
| [[package]] | ||
| name = "futures" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" | ||
| checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d" | ||
| dependencies = [ | ||
@@ -275,5 +293,5 @@ "futures-channel", | ||
| name = "futures-channel" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" | ||
| checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" | ||
| dependencies = [ | ||
@@ -286,11 +304,11 @@ "futures-core", | ||
| name = "futures-core" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" | ||
| checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" | ||
| [[package]] | ||
| name = "futures-executor" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" | ||
| checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d" | ||
| dependencies = [ | ||
@@ -304,23 +322,23 @@ "futures-core", | ||
| name = "futures-io" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" | ||
| checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" | ||
| [[package]] | ||
| name = "futures-sink" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" | ||
| checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" | ||
| [[package]] | ||
| name = "futures-task" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" | ||
| checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" | ||
| [[package]] | ||
| name = "futures-util" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" | ||
| checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" | ||
| dependencies = [ | ||
@@ -334,3 +352,2 @@ "futures-channel", | ||
| "pin-project-lite", | ||
| "pin-utils", | ||
| "slab", | ||
@@ -341,5 +358,5 @@ ] | ||
| name = "getrandom" | ||
| version = "0.3.4" | ||
| version = "0.4.1" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" | ||
| checksum = "139ef39800118c7683f2fd3c98c1b23c09ae076556b435f8e9064ae108aaeeec" | ||
| dependencies = [ | ||
@@ -350,2 +367,3 @@ "cfg-if", | ||
| "wasip2", | ||
| "wasip3", | ||
| ] | ||
@@ -377,2 +395,23 @@ | ||
| [[package]] | ||
| name = "hashbrown" | ||
| version = "0.15.5" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" | ||
| dependencies = [ | ||
| "foldhash", | ||
| ] | ||
| [[package]] | ||
| name = "hashbrown" | ||
| version = "0.16.1" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" | ||
| [[package]] | ||
| name = "heck" | ||
| version = "0.5.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" | ||
| [[package]] | ||
| name = "hermit-abi" | ||
@@ -387,2 +426,8 @@ version = "0.1.19" | ||
| [[package]] | ||
| name = "id-arena" | ||
| version = "2.3.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" | ||
| [[package]] | ||
| name = "indexmap" | ||
@@ -398,2 +443,14 @@ version = "1.9.3" | ||
| [[package]] | ||
| name = "indexmap" | ||
| version = "2.13.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017" | ||
| dependencies = [ | ||
| "equivalent", | ||
| "hashbrown 0.16.1", | ||
| "serde", | ||
| "serde_core", | ||
| ] | ||
| [[package]] | ||
| name = "itertools" | ||
@@ -409,11 +466,11 @@ version = "0.10.5" | ||
| name = "itoa" | ||
| version = "1.0.16" | ||
| version = "1.0.17" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "7ee5b5339afb4c41626dde77b7a611bd4f2c202b897852b4bcf5d03eddc61010" | ||
| checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" | ||
| [[package]] | ||
| name = "js-sys" | ||
| version = "0.3.83" | ||
| version = "0.3.87" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" | ||
| checksum = "93f0862381daaec758576dcc22eb7bbf4d7efd67328553f3b45a412a51a3fb21" | ||
| dependencies = [ | ||
@@ -431,6 +488,12 @@ "once_cell", | ||
| [[package]] | ||
| name = "leb128fmt" | ||
| version = "0.1.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" | ||
| [[package]] | ||
| name = "libc" | ||
| version = "0.2.178" | ||
| version = "0.2.182" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" | ||
| checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112" | ||
@@ -442,2 +505,8 @@ [[package]] | ||
| checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" | ||
| [[package]] | ||
| name = "linux-raw-sys" | ||
| version = "0.12.1" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" | ||
| dependencies = [ | ||
@@ -458,11 +527,11 @@ "rustc-std-workspace-core", | ||
| name = "log" | ||
| version = "0.4.28" | ||
| version = "0.4.29" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" | ||
| checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" | ||
| [[package]] | ||
| name = "memchr" | ||
| version = "2.7.6" | ||
| version = "2.8.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" | ||
| checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" | ||
@@ -545,8 +614,2 @@ [[package]] | ||
| [[package]] | ||
| name = "pin-utils" | ||
| version = "0.1.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" | ||
| [[package]] | ||
| name = "plotters" | ||
@@ -580,6 +643,16 @@ version = "0.3.7" | ||
| [[package]] | ||
| name = "prettyplease" | ||
| version = "0.2.37" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" | ||
| dependencies = [ | ||
| "proc-macro2", | ||
| "syn", | ||
| ] | ||
| [[package]] | ||
| name = "proc-macro2" | ||
| version = "1.0.103" | ||
| version = "1.0.106" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" | ||
| checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" | ||
| dependencies = [ | ||
@@ -591,5 +664,5 @@ "unicode-ident", | ||
| name = "quote" | ||
| version = "1.0.42" | ||
| version = "1.0.44" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" | ||
| checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" | ||
| dependencies = [ | ||
@@ -636,5 +709,5 @@ "proc-macro2", | ||
| name = "regex" | ||
| version = "1.12.2" | ||
| version = "1.12.3" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" | ||
| checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" | ||
| dependencies = [ | ||
@@ -649,5 +722,5 @@ "aho-corasick", | ||
| name = "regex-automata" | ||
| version = "0.4.13" | ||
| version = "0.4.14" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" | ||
| checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" | ||
| dependencies = [ | ||
@@ -661,5 +734,5 @@ "aho-corasick", | ||
| name = "regex-syntax" | ||
| version = "0.8.8" | ||
| version = "0.8.9" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" | ||
| checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c" | ||
@@ -680,5 +753,5 @@ [[package]] | ||
| name = "rustix" | ||
| version = "1.1.2" | ||
| version = "1.1.3" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" | ||
| checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34" | ||
| dependencies = [ | ||
@@ -688,3 +761,3 @@ "bitflags 2.9.1", | ||
| "libc", | ||
| "linux-raw-sys", | ||
| "linux-raw-sys 0.11.0", | ||
| "windows-sys", | ||
@@ -695,3 +768,3 @@ ] | ||
| name = "rustix" | ||
| version = "1.1.3" | ||
| version = "1.1.4" | ||
| dependencies = [ | ||
@@ -703,3 +776,3 @@ "bitflags 2.9.1", | ||
| "libc", | ||
| "linux-raw-sys", | ||
| "linux-raw-sys 0.12.1", | ||
| "memoffset", | ||
@@ -722,8 +795,2 @@ "once_cell", | ||
| [[package]] | ||
| name = "ryu" | ||
| version = "1.0.21" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "62049b2877bf12821e8f9ad256ee38fdc31db7387ec2d3b3f403024de2034aea" | ||
| [[package]] | ||
| name = "same-file" | ||
@@ -744,2 +811,8 @@ version = "1.0.6" | ||
| [[package]] | ||
| name = "semver" | ||
| version = "1.0.27" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" | ||
| [[package]] | ||
| name = "serde" | ||
@@ -776,11 +849,11 @@ version = "1.0.228" | ||
| name = "serde_json" | ||
| version = "1.0.146" | ||
| version = "1.0.149" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "217ca874ae0207aac254aa02c957ded05585a90892cc8d87f9e5fa49669dadd8" | ||
| checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" | ||
| dependencies = [ | ||
| "itoa", | ||
| "memchr", | ||
| "ryu", | ||
| "serde", | ||
| "serde_core", | ||
| "zmij", | ||
| ] | ||
@@ -821,5 +894,5 @@ | ||
| name = "slab" | ||
| version = "0.4.11" | ||
| version = "0.4.12" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" | ||
| checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" | ||
@@ -840,5 +913,5 @@ [[package]] | ||
| name = "syn" | ||
| version = "2.0.111" | ||
| version = "2.0.117" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" | ||
| checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" | ||
| dependencies = [ | ||
@@ -852,5 +925,5 @@ "proc-macro2", | ||
| name = "tempfile" | ||
| version = "3.23.0" | ||
| version = "3.25.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" | ||
| checksum = "0136791f7c95b1f6dd99f9cc786b91bb81c3800b639b3478e561ddb7be95e5f1" | ||
| dependencies = [ | ||
@@ -860,3 +933,3 @@ "fastrand", | ||
| "once_cell", | ||
| "rustix 1.1.2", | ||
| "rustix 1.1.3", | ||
| "windows-sys", | ||
@@ -883,7 +956,13 @@ ] | ||
| name = "unicode-ident" | ||
| version = "1.0.22" | ||
| version = "1.0.24" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" | ||
| checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" | ||
| [[package]] | ||
| name = "unicode-xid" | ||
| version = "0.2.6" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" | ||
| [[package]] | ||
| name = "walkdir" | ||
@@ -900,5 +979,5 @@ version = "2.5.0" | ||
| name = "wasip2" | ||
| version = "1.0.1+wasi-0.2.4" | ||
| version = "1.0.2+wasi-0.2.9" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" | ||
| checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5" | ||
| dependencies = [ | ||
@@ -909,6 +988,15 @@ "wit-bindgen", | ||
| [[package]] | ||
| name = "wasip3" | ||
| version = "0.4.0+wasi-0.3.0-rc-2026-01-06" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" | ||
| dependencies = [ | ||
| "wit-bindgen", | ||
| ] | ||
| [[package]] | ||
| name = "wasm-bindgen" | ||
| version = "0.2.106" | ||
| version = "0.2.110" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" | ||
| checksum = "1de241cdc66a9d91bd84f097039eb140cdc6eec47e0cdbaf9d932a1dd6c35866" | ||
| dependencies = [ | ||
@@ -924,5 +1012,5 @@ "cfg-if", | ||
| name = "wasm-bindgen-macro" | ||
| version = "0.2.106" | ||
| version = "0.2.110" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" | ||
| checksum = "e12fdf6649048f2e3de6d7d5ff3ced779cdedee0e0baffd7dff5cdfa3abc8a52" | ||
| dependencies = [ | ||
@@ -935,5 +1023,5 @@ "quote", | ||
| name = "wasm-bindgen-macro-support" | ||
| version = "0.2.106" | ||
| version = "0.2.110" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" | ||
| checksum = "0e63d1795c565ac3462334c1e396fd46dbf481c40f51f5072c310717bc4fb309" | ||
| dependencies = [ | ||
@@ -949,5 +1037,5 @@ "bumpalo", | ||
| name = "wasm-bindgen-shared" | ||
| version = "0.2.106" | ||
| version = "0.2.110" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" | ||
| checksum = "e9f9cdac23a5ce71f6bf9f8824898a501e511892791ea2a0c6b8568c68b9cb53" | ||
| dependencies = [ | ||
@@ -958,6 +1046,40 @@ "unicode-ident", | ||
| [[package]] | ||
| name = "wasm-encoder" | ||
| version = "0.244.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" | ||
| dependencies = [ | ||
| "leb128fmt", | ||
| "wasmparser", | ||
| ] | ||
| [[package]] | ||
| name = "wasm-metadata" | ||
| version = "0.244.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" | ||
| dependencies = [ | ||
| "anyhow", | ||
| "indexmap 2.13.0", | ||
| "wasm-encoder", | ||
| "wasmparser", | ||
| ] | ||
| [[package]] | ||
| name = "wasmparser" | ||
| version = "0.244.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" | ||
| dependencies = [ | ||
| "bitflags 2.9.1", | ||
| "hashbrown 0.15.5", | ||
| "indexmap 2.13.0", | ||
| "semver", | ||
| ] | ||
| [[package]] | ||
| name = "web-sys" | ||
| version = "0.3.83" | ||
| version = "0.3.87" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" | ||
| checksum = "f2c7c5718134e770ee62af3b6b4a84518ec10101aad610c024b64d6ff29bb1ff" | ||
| dependencies = [ | ||
@@ -1016,11 +1138,93 @@ "js-sys", | ||
| name = "wit-bindgen" | ||
| version = "0.46.0" | ||
| version = "0.51.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" | ||
| checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" | ||
| dependencies = [ | ||
| "wit-bindgen-rust-macro", | ||
| ] | ||
| [[package]] | ||
| name = "wit-bindgen-core" | ||
| version = "0.51.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" | ||
| dependencies = [ | ||
| "anyhow", | ||
| "heck", | ||
| "wit-parser", | ||
| ] | ||
| [[package]] | ||
| name = "wit-bindgen-rust" | ||
| version = "0.51.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" | ||
| dependencies = [ | ||
| "anyhow", | ||
| "heck", | ||
| "indexmap 2.13.0", | ||
| "prettyplease", | ||
| "syn", | ||
| "wasm-metadata", | ||
| "wit-bindgen-core", | ||
| "wit-component", | ||
| ] | ||
| [[package]] | ||
| name = "wit-bindgen-rust-macro" | ||
| version = "0.51.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" | ||
| dependencies = [ | ||
| "anyhow", | ||
| "prettyplease", | ||
| "proc-macro2", | ||
| "quote", | ||
| "syn", | ||
| "wit-bindgen-core", | ||
| "wit-bindgen-rust", | ||
| ] | ||
| [[package]] | ||
| name = "wit-component" | ||
| version = "0.244.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" | ||
| dependencies = [ | ||
| "anyhow", | ||
| "bitflags 2.9.1", | ||
| "indexmap 2.13.0", | ||
| "log", | ||
| "serde", | ||
| "serde_derive", | ||
| "serde_json", | ||
| "wasm-encoder", | ||
| "wasm-metadata", | ||
| "wasmparser", | ||
| "wit-parser", | ||
| ] | ||
| [[package]] | ||
| name = "wit-parser" | ||
| version = "0.244.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" | ||
| dependencies = [ | ||
| "anyhow", | ||
| "id-arena", | ||
| "indexmap 2.13.0", | ||
| "log", | ||
| "semver", | ||
| "serde", | ||
| "serde_derive", | ||
| "serde_json", | ||
| "unicode-xid", | ||
| "wasmparser", | ||
| ] | ||
| [[package]] | ||
| name = "zerocopy" | ||
| version = "0.8.31" | ||
| version = "0.8.39" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3" | ||
| checksum = "db6d35d663eadb6c932438e763b262fe1a70987f9ae936e60158176d710cae4a" | ||
| dependencies = [ | ||
@@ -1032,5 +1236,5 @@ "zerocopy-derive", | ||
| name = "zerocopy-derive" | ||
| version = "0.8.31" | ||
| version = "0.8.39" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a" | ||
| checksum = "4122cd3169e94605190e77839c9a40d40ed048d305bfdc146e7df40ab0f3e517" | ||
| dependencies = [ | ||
@@ -1041,1 +1245,7 @@ "proc-macro2", | ||
| ] | ||
| [[package]] | ||
| name = "zmij" | ||
| version = "1.0.21" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" |
+5
-5
@@ -16,3 +16,3 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO | ||
| name = "rustix" | ||
| version = "1.1.3" | ||
| version = "1.1.4" | ||
| authors = [ | ||
@@ -196,3 +196,3 @@ "Dan Gohman <dev@sunfishcode.online>", | ||
| [target.'cfg(all(any(target_os = "linux", target_os = "android"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))))))'.dependencies.linux-raw-sys] | ||
| version = "0.11.0" | ||
| version = "0.12" | ||
| features = [ | ||
@@ -209,3 +209,3 @@ "general", | ||
| [target.'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))'.dependencies.libc] | ||
| version = "0.2.177" | ||
| version = "0.2.182" | ||
| optional = true | ||
@@ -221,3 +221,3 @@ default-features = false | ||
| [target.'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))'.dependencies.linux-raw-sys] | ||
| version = "0.11.0" | ||
| version = "0.12" | ||
| features = [ | ||
@@ -234,3 +234,3 @@ "auxvec", | ||
| [target.'cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))))))'.dependencies.libc] | ||
| version = "0.2.177" | ||
| version = "0.2.182" | ||
| default-features = false | ||
@@ -237,0 +237,0 @@ |
+4
-5
@@ -139,6 +139,6 @@ <div align="center"> | ||
| `rustix` has its own code for making direct syscalls, similar to the | ||
| [`syscall`], [`sc`], and [`scall`] crates, using the Rust `asm!` macro. | ||
| `rustix` can also use Linux's vDSO mechanism to optimize Linux `clock_gettime` | ||
| on all architectures, and all Linux system calls on x86. And `rustix`'s | ||
| syscalls report errors using an optimized `Errno` type. | ||
| [`sc`], and [`scall`] crates, using the Rust `asm!` macro. `rustix` can also | ||
| use Linux's vDSO mechanism to optimize Linux `clock_gettime` on all | ||
| architectures, and all Linux system calls on x86. And `rustix`'s syscalls | ||
| report errors using an optimized `Errno` type. | ||
@@ -188,3 +188,2 @@ `rustix`'s `*at` functions are similar to the [`openat`] crate, but `rustix` | ||
| [`relibc`]: https://gitlab.redox-os.org/redox-os/relibc | ||
| [`syscall`]: https://crates.io/crates/syscall | ||
| [`sc`]: https://crates.io/crates/sc | ||
@@ -191,0 +190,0 @@ [`scall`]: https://crates.io/crates/scall |
@@ -17,3 +17,2 @@ // TODO: Remove the unsafe blocks. libc 0.2.171 removed `unsafe` from several | ||
| target_os = "emscripten", | ||
| target_os = "redox", | ||
| )))] | ||
@@ -49,13 +48,2 @@ #[inline] | ||
| #[cfg(target_os = "redox")] | ||
| #[inline] | ||
| pub(crate) fn makedev(maj: u32, min: u32) -> Dev { | ||
| // Redox's makedev is reportedly similar to 32-bit Android's but the return | ||
| // type is signed. | ||
| ((i64::from(maj) & 0xffff_f000_i64) << 32) | ||
| | ((i64::from(maj) & 0x0000_0fff_i64) << 8) | ||
| | ((i64::from(min) & 0xffff_ff00_i64) << 12) | ||
| | (i64::from(min) & 0x0000_00ff_i64) | ||
| } | ||
| #[cfg(target_os = "emscripten")] | ||
@@ -88,3 +76,2 @@ #[inline] | ||
| target_os = "netbsd", | ||
| target_os = "redox" | ||
| )))] | ||
@@ -108,6 +95,3 @@ #[inline] | ||
| #[cfg(any( | ||
| all(target_os = "android", target_pointer_width = "32"), | ||
| target_os = "redox" | ||
| ))] | ||
| #[cfg(all(target_os = "android", target_pointer_width = "32"))] | ||
| #[inline] | ||
@@ -133,3 +117,2 @@ pub(crate) fn major(dev: Dev) -> u32 { | ||
| target_os = "netbsd", | ||
| target_os = "redox", | ||
| )))] | ||
@@ -153,6 +136,3 @@ #[inline] | ||
| #[cfg(any( | ||
| all(target_os = "android", target_pointer_width = "32"), | ||
| target_os = "redox" | ||
| ))] | ||
| #[cfg(all(target_os = "android", target_pointer_width = "32"))] | ||
| #[inline] | ||
@@ -159,0 +139,0 @@ pub(crate) fn minor(dev: Dev) -> u32 { |
@@ -511,2 +511,18 @@ use crate::backend::c; | ||
| #[cfg(target_os = "redox")] | ||
| bitflags! { | ||
| /// `RENAME_*` constants for use with [`renameat_with`]. | ||
| /// | ||
| /// [`renameat_with`]: crate::fs::renameat_with | ||
| #[repr(transparent)] | ||
| #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)] | ||
| pub struct RenameFlags: ffi::c_uint { | ||
| /// `RENAME_NOREPLACE` | ||
| const NOREPLACE = bitcast!(c::RENAME_NOREPLACE); | ||
| /// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags> | ||
| const _ = !0; | ||
| } | ||
| } | ||
| #[cfg(apple)] | ||
@@ -513,0 +529,0 @@ bitflags! { |
| //! riscv64 Linux system calls. | ||
| //! | ||
| //! Syscalls do not preserve vector registers. | ||
| //! <https://docs.kernel.org/arch/riscv/vector.html#vector-register-state-across-system-calls> | ||
@@ -15,3 +18,35 @@ use crate::backend::reg::{ | ||
| lateout("a0") r0, | ||
| options(nostack, preserves_flags, readonly) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack, readonly) | ||
| ); | ||
@@ -28,3 +63,35 @@ FromAsm::from_asm(r0) | ||
| inlateout("a0") a0.to_asm() => r0, | ||
| options(nostack, preserves_flags) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack) | ||
| ); | ||
@@ -44,3 +111,35 @@ FromAsm::from_asm(r0) | ||
| inlateout("a0") a0.to_asm() => r0, | ||
| options(nostack, preserves_flags, readonly) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack, readonly) | ||
| ); | ||
@@ -73,3 +172,35 @@ FromAsm::from_asm(r0) | ||
| in("a1") a1.to_asm(), | ||
| options(nostack, preserves_flags) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack) | ||
| ); | ||
@@ -91,3 +222,35 @@ FromAsm::from_asm(r0) | ||
| in("a1") a1.to_asm(), | ||
| options(nostack, preserves_flags, readonly) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack, readonly) | ||
| ); | ||
@@ -111,3 +274,35 @@ FromAsm::from_asm(r0) | ||
| in("a2") a2.to_asm(), | ||
| options(nostack, preserves_flags) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack) | ||
| ); | ||
@@ -131,3 +326,35 @@ FromAsm::from_asm(r0) | ||
| in("a2") a2.to_asm(), | ||
| options(nostack, preserves_flags, readonly) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack, readonly) | ||
| ); | ||
@@ -153,3 +380,35 @@ FromAsm::from_asm(r0) | ||
| in("a3") a3.to_asm(), | ||
| options(nostack, preserves_flags) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack) | ||
| ); | ||
@@ -175,3 +434,35 @@ FromAsm::from_asm(r0) | ||
| in("a3") a3.to_asm(), | ||
| options(nostack, preserves_flags, readonly) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack, readonly) | ||
| ); | ||
@@ -199,3 +490,35 @@ FromAsm::from_asm(r0) | ||
| in("a4") a4.to_asm(), | ||
| options(nostack, preserves_flags) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack) | ||
| ); | ||
@@ -223,3 +546,35 @@ FromAsm::from_asm(r0) | ||
| in("a4") a4.to_asm(), | ||
| options(nostack, preserves_flags, readonly) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack, readonly) | ||
| ); | ||
@@ -249,3 +604,35 @@ FromAsm::from_asm(r0) | ||
| in("a5") a5.to_asm(), | ||
| options(nostack, preserves_flags) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack) | ||
| ); | ||
@@ -275,5 +662,37 @@ FromAsm::from_asm(r0) | ||
| in("a5") a5.to_asm(), | ||
| options(nostack, preserves_flags, readonly) | ||
| lateout("v0") _, | ||
| lateout("v1") _, | ||
| lateout("v2") _, | ||
| lateout("v3") _, | ||
| lateout("v4") _, | ||
| lateout("v5") _, | ||
| lateout("v6") _, | ||
| lateout("v7") _, | ||
| lateout("v8") _, | ||
| lateout("v9") _, | ||
| lateout("v10") _, | ||
| lateout("v11") _, | ||
| lateout("v12") _, | ||
| lateout("v13") _, | ||
| lateout("v14") _, | ||
| lateout("v15") _, | ||
| lateout("v16") _, | ||
| lateout("v17") _, | ||
| lateout("v18") _, | ||
| lateout("v19") _, | ||
| lateout("v20") _, | ||
| lateout("v21") _, | ||
| lateout("v22") _, | ||
| lateout("v23") _, | ||
| lateout("v24") _, | ||
| lateout("v25") _, | ||
| lateout("v26") _, | ||
| lateout("v27") _, | ||
| lateout("v28") _, | ||
| lateout("v29") _, | ||
| lateout("v30") _, | ||
| lateout("v31") _, | ||
| options(nostack, readonly) | ||
| ); | ||
| FromAsm::from_asm(r0) | ||
| } |
+30
-14
@@ -15,7 +15,7 @@ //! POSIX-style `*at` functions. | ||
| use crate::fs::Access; | ||
| #[cfg(not(target_os = "espidf"))] | ||
| #[cfg(not(any(target_os = "espidf", target_os = "redox")))] | ||
| use crate::fs::AtFlags; | ||
| #[cfg(apple)] | ||
| use crate::fs::CloneFlags; | ||
| #[cfg(any(linux_kernel, apple))] | ||
| #[cfg(any(linux_kernel, apple, target_os = "redox"))] | ||
| use crate::fs::RenameFlags; | ||
@@ -77,2 +77,3 @@ #[cfg(not(target_os = "espidf"))] | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/openat.2.html | ||
| #[cfg(not(target_os = "redox"))] | ||
| #[inline] | ||
@@ -100,3 +101,3 @@ pub fn openat<P: path::Arg, Fd: AsFd>( | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/readlinkat.2.html | ||
| #[cfg(feature = "alloc")] | ||
| #[cfg(all(feature = "alloc", not(target_os = "redox")))] | ||
| #[cfg_attr(docsrs, doc(cfg(feature = "alloc")))] | ||
@@ -112,3 +113,3 @@ #[inline] | ||
| #[cfg(feature = "alloc")] | ||
| #[cfg(all(feature = "alloc", not(target_os = "redox")))] | ||
| #[allow(unsafe_code)] | ||
@@ -177,2 +178,3 @@ fn _readlinkat(dirfd: BorrowedFd<'_>, path: &CStr, mut buffer: Vec<u8>) -> io::Result<CString> { | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/readlinkat.2.html | ||
| #[cfg(not(target_os = "redox"))] | ||
| #[inline] | ||
@@ -200,2 +202,3 @@ pub fn readlinkat_raw<P: path::Arg, Fd: AsFd, Buf: Buffer<u8>>( | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/mkdirat.2.html | ||
| #[cfg(not(target_os = "redox"))] | ||
| #[inline] | ||
@@ -215,3 +218,3 @@ pub fn mkdirat<P: path::Arg, Fd: AsFd>(dirfd: Fd, path: P, mode: Mode) -> io::Result<()> { | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/linkat.2.html | ||
| #[cfg(not(target_os = "espidf"))] | ||
| #[cfg(not(any(target_os = "espidf", target_os = "redox")))] | ||
| #[inline] | ||
@@ -250,3 +253,3 @@ pub fn linkat<P: path::Arg, Q: path::Arg, PFd: AsFd, QFd: AsFd>( | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/unlinkat.2.html | ||
| #[cfg(not(target_os = "espidf"))] | ||
| #[cfg(not(any(target_os = "espidf", target_os = "redox")))] | ||
| #[inline] | ||
@@ -297,3 +300,3 @@ pub fn unlinkat<P: path::Arg, Fd: AsFd>(dirfd: Fd, path: P, flags: AtFlags) -> io::Result<()> { | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/renameat2.2.html | ||
| #[cfg(any(apple, linux_kernel))] | ||
| #[cfg(any(apple, linux_kernel, target_os = "redox"))] | ||
| #[inline] | ||
@@ -330,2 +333,3 @@ #[doc(alias = "renameat2")] | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/symlinkat.2.html | ||
| #[cfg(not(target_os = "redox"))] | ||
| #[inline] | ||
@@ -357,3 +361,3 @@ pub fn symlinkat<P: path::Arg, Q: path::Arg, Fd: AsFd>( | ||
| /// [`FileType::from_raw_mode`]: crate::fs::FileType::from_raw_mode | ||
| #[cfg(not(target_os = "espidf"))] | ||
| #[cfg(not(any(target_os = "espidf", target_os = "redox")))] | ||
| #[inline] | ||
@@ -381,3 +385,8 @@ #[doc(alias = "fstatat")] | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/faccessat.2.html | ||
| #[cfg(not(any(target_os = "espidf", target_os = "horizon", target_os = "vita")))] | ||
| #[cfg(not(any( | ||
| target_os = "espidf", | ||
| target_os = "horizon", | ||
| target_os = "vita", | ||
| target_os = "redox" | ||
| )))] | ||
| #[inline] | ||
@@ -402,3 +411,8 @@ #[doc(alias = "faccessat")] | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/utimensat.2.html | ||
| #[cfg(not(any(target_os = "espidf", target_os = "horizon", target_os = "vita")))] | ||
| #[cfg(not(any( | ||
| target_os = "espidf", | ||
| target_os = "horizon", | ||
| target_os = "vita", | ||
| target_os = "redox" | ||
| )))] | ||
| #[inline] | ||
@@ -426,3 +440,3 @@ pub fn utimensat<P: path::Arg, Fd: AsFd>( | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/fchmodat.2.html | ||
| #[cfg(not(any(target_os = "espidf", target_os = "wasi")))] | ||
| #[cfg(not(any(target_os = "espidf", target_os = "wasi", target_os = "redox")))] | ||
| #[inline] | ||
@@ -471,3 +485,4 @@ #[doc(alias = "fchmodat")] | ||
| target_os = "vita", | ||
| target_os = "wasi" | ||
| target_os = "wasi", | ||
| target_os = "redox", | ||
| )))] | ||
@@ -498,3 +513,4 @@ #[inline] | ||
| target_os = "vita", | ||
| target_os = "wasi" | ||
| target_os = "wasi", | ||
| target_os = "redox", | ||
| )))] | ||
@@ -515,3 +531,3 @@ #[inline] | ||
| /// [Linux]: https://man7.org/linux/man-pages/man2/fchownat.2.html | ||
| #[cfg(not(any(target_os = "espidf", target_os = "wasi")))] | ||
| #[cfg(not(any(target_os = "espidf", target_os = "wasi", target_os = "redox")))] | ||
| #[inline] | ||
@@ -518,0 +534,0 @@ #[doc(alias = "fchownat")] |
+2
-4
| //! Filesystem operations. | ||
| mod abs; | ||
| #[cfg(not(target_os = "redox"))] | ||
| mod at; | ||
@@ -54,3 +53,3 @@ mod constants; | ||
| mod sendfile; | ||
| #[cfg(not(any(target_os = "espidf", target_os = "redox")))] | ||
| #[cfg(not(target_os = "espidf"))] | ||
| mod special; | ||
@@ -71,3 +70,2 @@ #[cfg(linux_kernel)] | ||
| pub use abs::*; | ||
| #[cfg(not(target_os = "redox"))] | ||
| pub use at::*; | ||
@@ -120,3 +118,3 @@ pub use constants::*; | ||
| pub use sendfile::sendfile; | ||
| #[cfg(not(any(target_os = "espidf", target_os = "redox")))] | ||
| #[cfg(not(target_os = "espidf"))] | ||
| pub use special::*; | ||
@@ -123,0 +121,0 @@ #[cfg(linux_kernel)] |
+23
-8
@@ -33,9 +33,22 @@ //! Types for use with [`rustix::process`] functions. | ||
| pub(crate) const unsafe fn from_raw_unchecked(raw_fl: c::flock) -> Self { | ||
| Self { | ||
| start: raw_fl.l_start as _, | ||
| length: raw_fl.l_len as _, | ||
| pid: Pid::from_raw(raw_fl.l_pid), | ||
| typ: transmute::<i16, FlockType>(raw_fl.l_type), | ||
| offset_type: transmute::<i16, FlockOffsetType>(raw_fl.l_whence), | ||
| #[cfg(not(all(target_os = "hurd", target_arch = "x86")))] | ||
| { | ||
| Self { | ||
| start: raw_fl.l_start as _, | ||
| length: raw_fl.l_len as _, | ||
| pid: Pid::from_raw(raw_fl.l_pid), | ||
| typ: transmute::<i16, FlockType>(raw_fl.l_type), | ||
| offset_type: transmute::<i16, FlockOffsetType>(raw_fl.l_whence), | ||
| } | ||
| } | ||
| #[cfg(all(target_os = "hurd", target_arch = "x86"))] | ||
| { | ||
| Self { | ||
| start: raw_fl.l_start as _, | ||
| length: raw_fl.l_len as _, | ||
| pid: Pid::from_raw(raw_fl.l_pid), | ||
| typ: transmute::<i32, FlockType>(raw_fl.l_type), | ||
| offset_type: transmute::<i32, FlockOffsetType>(raw_fl.l_whence), | ||
| } | ||
| } | ||
| } | ||
@@ -72,3 +85,4 @@ | ||
| #[derive(Clone, Copy, Debug, PartialEq, Eq)] | ||
| #[repr(i16)] | ||
| #[cfg_attr(not(all(target_os = "hurd", target_arch = "x86")), repr(i16))] | ||
| #[cfg_attr(all(target_os = "hurd", target_arch = "x86"), repr(i32))] | ||
| pub enum FlockType { | ||
@@ -88,3 +102,4 @@ /// `F_RDLCK` | ||
| #[derive(Clone, Copy, Debug, PartialEq, Eq)] | ||
| #[repr(i16)] | ||
| #[cfg_attr(not(all(target_os = "hurd", target_arch = "x86")), repr(i16))] | ||
| #[cfg_attr(all(target_os = "hurd", target_arch = "x86"), repr(i32))] | ||
| pub enum FlockOffsetType { | ||
@@ -91,0 +106,0 @@ /// `F_SEEK_SET` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display