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

fail! macro undefined / outdated #3

Open
r-arias opened this issue Nov 1, 2015 · 0 comments
Open

fail! macro undefined / outdated #3

r-arias opened this issue Nov 1, 2015 · 0 comments

Comments

@r-arias
Copy link

r-arias commented Nov 1, 2015

hey! thanks for this, I want to use it to route an HTTPS stream through Tor:
I was getting the following error when compiling:

src/socks4a.rs:45:18: 45:22 error: macro undefined: 'fail!'
src/socks4a.rs:45             x => fail!("Unexpected status byte: {}", x)
                                   ^~~~
src/socks4.rs:48:18: 48:22 error: macro undefined: 'fail!'
src/socks4.rs:48             x => fail!("Unexpected status byte: {}", x)
                                  ^~~~
error: aborting due to 2 previous errors
Could not compile `rustsocks`.

I went ahead trying to fix it and got a whole lot of more errors, related to being written for an older version of Rust. I am creating a pull request to fix this.

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

No branches or pull requests

1 participant