RedisLabsModules / redismodule-rs

Rust API for Redis Modules API
BSD 3-Clause "New" or "Revised" License
267 stars 62 forks source link

recommand to support windows #380

Open zkteco-home opened 7 months ago

zkteco-home commented 7 months ago

I compiled redisjson with redismodle-rs,I found allocation_free_panic not support windows only,I hope it can update to support windows

iddm commented 7 months ago

I compiled redisjson with redismodle-rs,I found allocation_free_panic not support windows only,I hope it can update to support windows

Hi @zkteco-home, and thank you for your request!

Unfortunately, I am here to tell you that Redis doesn't support Windows, so this will probably never happen. However, if you follow the official steps, the WSL2 is used there to make Redis work. If you compile from within this WSL2 environment, you will get the allocation-free panic working. Good luck! Please ask any questions should you have more!

There are currently no plans to start supporting Windows.

zkteco-home commented 7 months ago

Although Redis dosn't support Windows official,but I compiled Redis windows version,see https://github.com/zkteco-home/redis-windows

I also compiled RedisJson with redismodule-rs on windows,it is native,without WSL2 or WSys,it can work fine.just allocation_free_panic function in Alloc.rs not support windows,other work fine in windows. https://github.com/zkteco-home/RedisJson

iddm commented 7 months ago

Although Redis dosn't support Windows official,but I compiled Redis windows version,see https://github.com/zkteco-home/redis-windows

I also compiled RedisJson with redismodule-rs on windows,it is native,without WSL2 or WSys,it can work fine.just allocation_free_panic function in Alloc.rs not support windows,other work fine in windows.

https://github.com/zkteco-home/RedisJson

Great to know that you were able to do that, I sincerely hope it solves all the troubles for you! However, I should clarify that the absence of "support" means that we don't do anything in particular to enable Redis to work under Windows and/or guarantee it being possible; at the same time, it does not mean that it cannot happen in principle, just as in your case you mentioned above.

Have a great day!