Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] Add getdaft #4686

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

bitsondatadev
Copy link
Contributor

@bitsondatadev bitsondatadev commented Apr 10, 2024

Description

Fixes: #4685

Checklists

  • Add a CHANGELOG entry
  • Add / update tests
  • Add new / update outdated documentation

@bitsondatadev
Copy link
Contributor Author

Hey @ryanking13 / @hoodmane,

I'm getting some seemingly common rust-related errors.

error[E0463]: can't find crate for `core`
  |
  = note: the `wasm32-unknown-emscripten` target may not be installed
  = help: consider downloading the target with `rustup target add wasm32-unknown-emscripten`
  = help: consider building the standard library from source with `cargo build -Zbuild-std`
error[E0463]: can't find crate for `compiler_builtins`

I've seen this blog but I am not knowledgable to understand where daft's issues fit in and how I might resolve them.

cc: @samster25 perhaps you have some idea here?

@ryanking13
Copy link
Member

ryanking13 commented Apr 11, 2024

What happens if you put:

build:
  script: |
    export RUSTFLAGS="-Zbuild-std"

or

build:
  script: |
    export RUSTFLAGS="-Z link-native-libraries=yes"

?

I am not a rust expert so I am not very sure about the error message but these are some of the flags that helped me troubleshoot the rust errors.

@bitsondatadev
Copy link
Contributor Author

I'll give these a shot. I'm also not a Rust expert and much a n00b but I'll add these and maybe some debug flags to look at different outputs. Hopefully out Rust-aware halves will be able to point us in the right direction.

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.

Add Daft Package
2 participants