Giter Site home page Giter Site logo

Comments (7)

kenz-gelsoft avatar kenz-gelsoft commented on June 28, 2024

looks like your rustc is not rust master.
if rustc --version is 0.8, try the rust-0.8 branch of wxRust.
if it is 0.9-pre intermediately version, it's not supported.

from wxrust.

kenz-gelsoft avatar kenz-gelsoft commented on June 28, 2024

reverse patching e6ac854 may be a workaround.

from wxrust.

newchief avatar newchief commented on June 28, 2024

On both MacOSX and Linux I'm using rustc from current servo master (as it is stated in wxRust page), which is now:
rustc --version
rustc 0.9-pre (f6b236b 2013-10-28 20:59:45 -0700)
host: i686-unknown-linux-gnu

rustc --version
rustc 0.9-pre (f6b236b 2013-10-28 20:59:45 -0700)
host: x86_64-apple-darwin

commit f6b236b9d2780edc1336ea5f62c2ba0fed6e34c5
Author: Keegan McAllister
Date: Mon Oct 28 20:28:41 2013 -0700

Seems like with MacOSX I was lucky, e6ac854 must have been merged after I pulled wxRust master on Mac, on Linux I have fresher wxRust master.

I'll try proposed workaround when I'm back from work.

from wxrust.

kenz-gelsoft avatar kenz-gelsoft commented on June 28, 2024

OK I see.
If you use servo master's compiler, the right wxRust branch is rust-servo.
I should have documented this in README. sorry for inconvenience.

I'll document the following rust and wxRust version mapping:

(rust version -> wxRust branch)
master -> master
servo bundled -> rust-servo
0.8 release -> rust-0.8

from wxrust.

newchief avatar newchief commented on June 28, 2024

Ok, now this one can be closed. It's turned out that I did not notice, that rust-servo branch is checked by default on 'git clone'. After experimenting with patches I checked master (instead of rust-servo) as I did not notice it's not the branch I used to work with. On MacOSX it was always rust-servo branch and no surprise it was always OK.

I also chcecked if reverting patch e6ac854 helps on master. Although it reverts with simple to solve conflict, indeed, it helps - wxRust builds with rustc from servo master and test application works.
Feel free to close this one.

from wxrust.

kenz-gelsoft avatar kenz-gelsoft commented on June 28, 2024

Thank you for your testing. I'll close this by adding branch description to README.md.

from wxrust.

kenz-gelsoft avatar kenz-gelsoft commented on June 28, 2024

Document rust-wxRust version mapping in 890f2ff and so on. Close.

from wxrust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.