8000 Allow macro ndarray::s! in no_std. by makotokato · Pull Request #1154 · rust-ndarray/ndarray · GitHub
[go: up one dir, main page]

Skip to content

Allow macro ndarray::s! in no_std.#1154

Merged
jturner314 merged 3 commits intorust-ndarray:masterfrom
makotokato:no_std-macro_rules-s
Mar 2, 2022
Merged

Allow macro ndarray::s! in no_std.#1154
jturner314 merged 3 commits intorust-ndarray:masterfrom
makotokato:no_std-macro_rules-s

Conversation

@makotokato
Copy link
Contributor

We cannot use ndarray::s! in no_std, but I would like to use it even if no_std.

@zbraniecki
Copy link

Hi @bluss. Do you know when you may have time to look into this PR? It's starting to block us in icu4x.

Copy link
Member
@jturner314 jturner314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a couple of comments -- I think some of the changes are unnecessary. AFAIK, the only necessary change is changing ::std to ::core in the macro.

8000
@jturner314 jturner314 merged commit 3124410 into rust-ndarray:master Mar 2, 2022
@jturner314
Copy link
Member

Thanks!

@makotokato makotokato deleted the no_std-macro_rules-s branch May 25, 2022 00:36
@Manishearth
Copy link

@jturner314 woudl it be possible to get a release with this fix?

@sffc
Copy link
sffc commented Jul 28, 2022

Hey @jturner314! Do you think you could release an update to ndarray with this fix? We'd like to depend on it when we release icu4x in the next couple of weeks.

jturner314 pushed a commit to jturner314/ndarray that referenced this pull request Jul 30, 2022
jturner314 pushed a commit that referenced this pull request Jul 30, 2022
@jturner314
Copy link
Member

@makotokato, @zbraniecki, @Manishearth, @sffc I've released version 0.15.5, which includes this change.

@makotokato Thanks for the PR!

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.

5 participants

0