Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Conversation

samsonjj
Copy link

The current example is fairly bare-bones. Adding some files to address questions that I had when looking up how the rust-project.json file worked.

  1. Added a dependency file "hello.rs" that is pulled in by main.rs. Updated settings.json to mark hello.rs as a dependency. Now people can see how "deps" should work.
  2. Added a compile script "compile.sh" that works on linux and just uses rustc. This kind of makes this a real functional project by showing how to compile the code, since we are assuming any client altering rust-project.json will not be using cargo in the normal sense.
  3. Added fixes to main.rs since it didn't seem to compile on my machine. Specifically, asm!() was not in std. std::assert! should be more reliable.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant