Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Potentially implement a custom core library #60

Open
MaikKlein opened this issue Jun 27, 2018 · 0 comments
Open

Potentially implement a custom core library #60

MaikKlein opened this issue Jun 27, 2018 · 0 comments

Comments

@MaikKlein
Copy link
Owner

Currently rlsl uses a custom libstd library that is compatible with the libstd that ships with Rust. The problem is that some things in core can't be translated to SPIR-V. For example Iterator for Range uses mem::swap behind the scenes which uses pointer math.

It might be possible to intercept some of those "bad" implementations. The alternative is to create a custom core.

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

No branches or pull requests

1 participant