Skip to content

Commit fe754a4

Browse files
renovate[bot]jdx
andauthored
chore(deps): update rust crate ctor to v1 (#637)
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [ctor](https://redirect.github.com/mmastrac/linktime) | dev-dependencies | major | `0.12` → `1.0` | `1.0.6` (+1) | --- ### Release Notes <details> <summary>mmastrac/linktime (ctor)</summary> ### [`v1.0.4`](https://redirect.github.com/mmastrac/linktime/releases/tag/ctor-1.0.4) [Compare Source](https://redirect.github.com/mmastrac/linktime/compare/ctor-1.0.3...ctor-1.0.4) #### What's Changed - Use target\_os=windows rather than target\_vendor=pc by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;443](https://redirect.github.com/mmastrac/linktime/pull/443) - Add uefi support (`.init_array`) by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;444](https://redirect.github.com/mmastrac/linktime/pull/444) - Fall back to .init\_array on unsupported platforms by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;445](https://redirect.github.com/mmastrac/linktime/pull/445) **Full Changelog**: <mmastrac/linktime@ctor-1.0.3...ctor-1.0.4> ### [`v1.0.3`](https://redirect.github.com/mmastrac/linktime/releases/tag/ctor-1.0.3) [Compare Source](https://redirect.github.com/mmastrac/linktime/compare/ctor-1.0.2...ctor-1.0.3) #### What's Changed - Fix unsafe C library access with default priority value by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;442](https://redirect.github.com/mmastrac/linktime/pull/442) ##### Other changes - BSD test improvements by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;438](https://redirect.github.com/mmastrac/linktime/pull/438) - Simplify cargo clean CI setup by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;439](https://redirect.github.com/mmastrac/linktime/pull/439) - Add more BSDs to CI by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;417](https://redirect.github.com/mmastrac/linktime/pull/417) - Bump clitest by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;440](https://redirect.github.com/mmastrac/linktime/pull/440) **Full Changelog**: <mmastrac/linktime@ctor-1.0.2...ctor-1.0.3> ### [`v1.0.2`](https://redirect.github.com/mmastrac/linktime/releases/tag/ctor-1.0.2) [Compare Source](https://redirect.github.com/mmastrac/linktime/compare/ctor-1.0.1...ctor-1.0.2) #### What's Changed - Improvements to `static` items for `#[ctor]` - `const` dynamic ctors - use a const block to initialize a set of ctors * Update `link-section` behaviour for WASM targets by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;426](https://redirect.github.com/mmastrac/linktime/pull/426) [github.com/mmastrac/linktime/pull/428](redirect.github.com/mmastrac/linktime/pull/428)28 * Add const option for link-section by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;430](https://redirect.github.com/mmastrac/linktime/pull/430) * Improved link-section WASM implementation by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;431](https://redirect.github.com/mmastrac/linktime/pull/431) * Update crate metadata by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;432](https://redirect.github.com/mmastrac/linktime/pull/432) * Allow various forms of &'static for static ctors by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;435](https://redirect.github.com/mmastrac/linktime/pull/435) * Allow "optional" ctors where the ctors can be generated by a const function by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;436](https://redirect.github.com/mmastrac/linktime/pull/436) **Full Changelog**: <mmastrac/linktime@ctor-1.0.1...ctor-1.0.2> ### [`v1.0.1`](https://redirect.github.com/mmastrac/linktime/releases/tag/ctor-1.0.1) [Compare Source](https://redirect.github.com/mmastrac/linktime/compare/ctor-1.0.0...ctor-1.0.1) #### What's Changed - Fix duplicated ctor calls in WASM [#&#8203;422](https://redirect.github.com/mmastrac/linktime/pull/422) **Full Changelog**: <mmastrac/linktime@ctor-1.0.0...ctor-1.0.1> ### [`v1.0.0`](https://redirect.github.com/mmastrac/linktime/releases/tag/ctor-1.0.0) [Compare Source](https://redirect.github.com/mmastrac/linktime/compare/ctor-0.13.1...ctor-1.0.0) #### What's Changed - Cleanup pass on build scripts by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;416](https://redirect.github.com/mmastrac/linktime/pull/416) - Release 1.0 (🎉) by [@&#8203;mmastrac](https://redirect.github.com/mmastrac) in [#&#8203;414](https://redirect.github.com/mmastrac/linktime/pull/414) **Full Changelog**: <mmastrac/linktime@ctor-0.13.1...ctor-1.0.0> ### [`v0.13.1`](https://redirect.github.com/mmastrac/linktime/compare/ctor-0.13.0...ctor-0.13.1) [Compare Source](https://redirect.github.com/mmastrac/linktime/compare/ctor-0.13.0...ctor-0.13.1) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/Chicago) - Branch creation - Only on Friday (`* * * * 5`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/jdx/usage). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzkuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE3OS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jdx <216188+jdx@users.noreply.github.com>
1 parent 09c4564 commit fe754a4

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ exec = "0.3"
4848
[dev-dependencies]
4949
assert_cmd = { version = "2", features = ["color-auto"] }
5050
clap-sort = "1"
51-
ctor = "0.12"
51+
ctor = "1"
5252
insta = "1"
5353
predicates = "3"
5454

cli/src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use crate::env;
22

3-
#[ctor::ctor]
3+
#[ctor::ctor(unsafe)]
44
fn init() {
55
env::set_var("USAGE_BIN", "usage");
66
}

lib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ unstable_choices_env = []
4646

4747
[dev-dependencies]
4848
criterion = "0.8"
49-
ctor = "0.12"
49+
ctor = "1"
5050
insta = "1"
5151
pretty_assertions = "1"
5252
shell-words = "1"

0 commit comments

Comments
 (0)