Coder Social home page Coder Social logo

build failed on Win 10 about wifi-rs HOT 7 CLOSED

toksdotdev avatar toksdotdev commented on August 12, 2024
build failed on Win 10

from wifi-rs.

Comments (7)

schlefix avatar schlefix commented on August 12, 2024 1

all right... i prepare a PR ;) got a "not that nice" but working solution ;)

from wifi-rs.

toksdotdev avatar toksdotdev commented on August 12, 2024

Hello @schlefix.

Thanks for pointing out the error.

I'll look into it, although it might take roughly 6-12hrs to get my hands on a windows machine since my primary OS is Linux.

I would be glad if you could also try submitting a PR to fix the issue.

from wifi-rs.

schlefix avatar schlefix commented on August 12, 2024

... i am currently unable to login into github from my workplace o.O

more time to test and make a better PR ;)

from wifi-rs.

toksdotdev avatar toksdotdev commented on August 12, 2024

Sure! Please do take your time 😃.

from wifi-rs.

toksdotdev avatar toksdotdev commented on August 12, 2024

Hello @schlefix.

Just wanted to ask if you've been less busy to give the windows build some time.

I'll very much appreciate it.

Thanks.

from wifi-rs.

schlefix avatar schlefix commented on August 12, 2024

I am sorry... I forgot it completely over the holydays. Unfortunately I am currently in the same situation (no Windows at Home... only at work)... plus: this is not my number one priority ;)

As i am able to recal my workaround was simply to copy the ssid string/slice into a local variable... Not quite a clean solution ;)

I may be able to look into it at the end of next week... sorry

from wifi-rs.

schlefix avatar schlefix commented on August 12, 2024

unfortunately i am not able to create an PR... or I am too stupid (normaly i create a branch, push to new branch and create a merge-request)

replaced &format!("name={}", *self.connection.unwrap().ssid) with &format!("name={}", ssid) and this builds at least...

using the ssid from the parameter is (in my view) already ensured by Self::add_profile(ssid,password)?
if add_profile returns Ok(..) then ssid is valid and can be used ?!

from wifi-rs.

Related Issues (11)

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.