← 输入框|github.com|刷新
Skip to content

Build Failure in running demo code - MacOs  #5419

Open

Description

@elusivenode

Summary

Cannot run cargo run --release demo_closures.py

Rustc:

rustc 1.81.0 (eeb90cda1 2024-09-04)
binary: rustc
commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c
commit-date: 2024-09-04
host: x86_64-apple-darwin
release: 1.81.0
LLVM version: 18.1.7

Context:

  • can build the project with cargo build
  • can launch and use the interpreter with cargo run

Note:

  • I am happy to try to diagnose the issue further if someone could point me in the right direction.

Expected

To run the simple scipt example

Actual

Hit several:
error: failed to run custom build command for malachite-nz v0.4.16

Caused by:
process didn't exit successfully: /Users/hamish.macdonald/RustPython/target/release/build/malachite-nz-0f4d34cdd3e196f9/build-script-build (signal: 9, SIGKILL: kill)

Activity

  1. elusivenode commented on Sep 28, 2024

    @elusivenode
    Author

    Further information:

    • cargo build --release fails
    • cargo run demo_closures.py succeeds
      So issue is with release build
  2. youknowone commented on Sep 29, 2024

    @youknowone
    Member

    I can't reproduce it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions