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

use cfg attribute instead of cfg! macro #55

Merged
merged 1 commit into from
Apr 30, 2020
Merged

Conversation

jclulow
Copy link
Contributor

@jclulow jclulow commented Apr 11, 2020

There are a number of places where we use the cfg! macro today, but
unfortunately though convenient, that pattern does not completely
isolate conditional parts of the build. This is particularly pertinent
on Windows, which lacks a lot of symbols that ordinarily appear in a
UNIX libc.

This change has been tested on at least:

  • Mac OS X
  • Windows 10
  • Ubuntu 19.10
  • illumos

There are no more compilation errors or warnings, and the program in
test/ appears work correctly.

There are a number of places where we use the cfg! macro today, but
unfortunately though convenient, that pattern does not completely
isolate conditional parts of the build.  This is particularly pertinent
on Windows, which lacks a lot of symbols that ordinarily appear in a
UNIX libc.

This change has been tested on at least:

* Mac OS X
* Windows 10
* Ubuntu 19.10
* illumos

There are no more compilation errors or warnings, and the program in
test/ appears work correctly.
@jclulow
Copy link
Contributor Author

jclulow commented Apr 20, 2020

Hi @FillZpp -- would you be willing to take a look at this PR? Thanks.

@FillZpp
Copy link
Owner

FillZpp commented Apr 29, 2020

@jclulow Sure. Sorry for getting back so late, I was too busy these days :)

@jclulow
Copy link
Contributor Author

jclulow commented Apr 29, 2020

Hey, no worries! We are all busy. Thanks for getting back!

Copy link
Owner

@FillZpp FillZpp left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for working on this!

@FillZpp FillZpp merged commit 0081fdc into FillZpp:master Apr 30, 2020
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.

2 participants