Skip to content

Conversation

NobodyXu
Copy link
Collaborator

@NobodyXu NobodyXu commented Jul 7, 2024

To avoid having to declare #[link(name = "...")]

@NobodyXu NobodyXu requested a review from ChrisDenton July 7, 2024 13:25
@NobodyXu
Copy link
Collaborator Author

NobodyXu commented Jul 7, 2024

@ChrisDenton Seems like it doesn't work https://github.com/rust-lang/cc-rs/actions/runs/9827681479/job/27130657478?pr=1137#step:8:18

    Updating crates.io index
     Locking 44 packages to latest compatible versions
      Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
      Adding which v4.4.2 (latest: v6.0.1)
   Compiling cc v1.0.105 (D:\a\cc-rs\cc-rs)
   Compiling gen-target-info v0.1.0 (D:\a\cc-rs\cc-rs\dev-tools\gen-target-info)
   Compiling gen-windows-sys-binding v0.0.0 (D:\a\cc-rs\cc-rs\dev-tools\gen-windows-sys-binding)
   Compiling cc-test v0.1.0 (D:\a\cc-rs\cc-rs\dev-tools\cc-test)
error: failed to run custom build command for `cc-test v0.1.0 (D:\a\cc-rs\cc-rs\dev-tools\cc-test)`

Caused by:
  process didn't exit successfully: `D:\a\cc-rs\cc-rs\target\debug\build\cc-test-5525a8762191208f\build-script-build` (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)
warning: build failed, waiting for other jobs to finish...

@NobodyXu NobodyXu mentioned this pull request Jul 7, 2024
@NobodyXu NobodyXu force-pushed the windows-sys-rar-dynlibi branch from 9ee3a45 to 4ea25a5 Compare July 8, 2024 11:17
@NobodyXu
Copy link
Collaborator Author

NobodyXu commented Jul 8, 2024

Seems that it needs msrv 1.67 rust-lang/rust#104360 (comment)

NobodyXu added a commit that referenced this pull request Jul 8, 2024
For #1137

Signed-off-by: Jiahao XU <[email protected]>
@NobodyXu NobodyXu mentioned this pull request Jul 8, 2024
NobodyXu added a commit that referenced this pull request Jul 8, 2024
For #1137

Signed-off-by: Jiahao XU <[email protected]>
NobodyXu and others added 2 commits July 8, 2024 21:29
To avoid having to declare `#[link(name = "...")]`

Signed-off-by: Jiahao XU <[email protected]>
Co-authored-by: Chris Denton <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants