Comments (15)
I (or someone else) could easily add that as rustc still has official support for that. I have to ask, however, is this a target that you are personally using? I'm not saying that it's an invalid use case, rather am I rather interested in the circumstances of yours that lead to such a requirement.
from miniserve.
I (or someone else) could easily add that as rustc still has official support for that. I have to ask, however, is this a target that you are personally using? I'm not saying that it's an invalid use case, rather am I rather interested in the circumstances of yours that lead to such a requirement.
I have some 2G or 1G RAM machines on which I will run windows thinpc, which is the official stripped-down version of windows7 with very low RAM and disk requirements.
from miniserve.
Could you check whether the binary here works for you? https://github.com/svenstaro/miniserve/actions/runs/6925636871?pr=1273
from miniserve.
I tested it on the win8.1 x86 version.
First of all, Windows will report an error, and the error module is: api-ms-win-crt-heap-l1-1-0.dll.
Fixed after installing Windows8.1-KB2999226-x86.msu.
Then, another error is reported, and the error module is: VCRUNTIME140.dll.
Resolve after installing vc_redist.x86.exe (Visual C++ Redistributable for Visual Studio 2015-2022).
Then It works ok!
from miniserve.
I'll test some other versions of Windows later.
from miniserve.
After the above two steps, Windows ThinPC (the official stripped-down version of win7 x86) works fine too.
By the way, I tested it on Win10 x64, and it worked fine without installing any patches.
from miniserve.
So I think we're good then?
from miniserve.
Actually hang on, I got an idea.
from miniserve.
I was missing
[target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
in .cargo/config.toml
. With that added, I don't think the additional libs for Windows 32 should be required.
from miniserve.
I guess 64-bit (Win7, win8, and win8.1) has the same dependency.
from miniserve.
Yeah but that already had this entry for it:
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
from miniserve.
OK, I can test the program after adding the dependency again.
from miniserve.
Try the new version from here: https://github.com/svenstaro/miniserve/actions/runs/6926148813?pr=1273
from miniserve.
Nice! I rolled back the win8.1 snapshot in the virtual machine before the patch was installed, and now works fine without the above two patches.
I think it's enough to merge pull.
from miniserve.
Happy to hear!
from miniserve.
Related Issues (20)
- Panic when serving non-existent file in SPA mode HOT 1
- support setting permission?
- (systemd) error: unexpected argument ' ' found
- panicked at 'modification time must be after epoch: SystemTimeError(28800s)' HOT 6
- Unable to serve files with embedded newline HOT 2
- hope to add ignore file/dir list parameter HOT 1
- Failed test bind_ipv4_ipv6::case_2 HOT 2
- Does it support hiding some files? HOT 6
- Can't Upload HOT 1
- Add cli flag to disable indexing HOT 1
- Not working with reverse proxy in specific directory HOT 2
- Wget footers : hostname:port is repeated
- Feature request: custom subtitle
- rendering markdown files? HOT 6
- Set upload size limit HOT 2
- Save uploaded file atomically HOT 2
- 上传onedrive问题 HOT 4
- How to use HTTPS HOT 1
- Add Support for HSTS to Enhance HTTPS Security HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miniserve.