Xargo 0.3.12 supports builtins now. Remove Xargo.toml again

pull/4/head
Andre Richter 6 years ago
parent 7273745da6
commit dceb4c3097

@ -1,5 +0,0 @@
[dependencies.core]
stage = 0
[dependencies.compiler_builtins]
stage = 1

@ -1,5 +0,0 @@
[dependencies.core]
stage = 0
[dependencies.compiler_builtins]
stage = 1

@ -1,5 +0,0 @@
[dependencies.core]
stage = 0
[dependencies.compiler_builtins]
stage = 1

@ -35,16 +35,6 @@ Where each tag looks like:
n+3. optional value buffer
```
### Xargo.toml
The mailbox buffer is a fixed array that is zero-initialized. To achieve
zero-initialization, Rust utilizies and links to the `memset()` function, which
is normally provided by `libc`.
Since we are writing a `no_std` crate, we need to explicitly provide it. The
easiest way is pulling in the `mem` feature of the `compiler_builtins` by adding
it to `Xargo.toml`.
### Synchronization
When signaling the GPU about a new mailbox message, we need to take care that

@ -1,6 +0,0 @@
[dependencies.core]
stage = 0
[dependencies.compiler_builtins]
features = ["mem"] # for memset() et al.
stage = 1

@ -1,6 +0,0 @@
[dependencies.core]
stage = 0
[dependencies.compiler_builtins]
features = ["mem"] # for memset() et al.
stage = 1

@ -1,6 +0,0 @@
[dependencies.core]
stage = 0
[dependencies.compiler_builtins]
features = ["mem"] # for memset() et al.
stage = 1

@ -1,6 +0,0 @@
[dependencies.core]
stage = 0
[dependencies.compiler_builtins]
features = ["mem"] # for memset() et al.
stage = 1
Loading…
Cancel
Save