Skip to content

Commit b0b8ede

Browse files
committed
wip
1 parent 24b16e1 commit b0b8ede

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/vm/src/stdlib/sys.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,8 @@ pub mod sys {
658658
fn implementation(vm: &VirtualMachine) -> PyRef<PyNamespace> {
659659
const NAME: &str = "rustpython";
660660

661-
let cache_tag = format!("{NAME}-{}_{}", version::MAJOR_IMPL, version::MINOR_IMPL);
661+
// cache tag uses 'cpython' because our compiler is cpython compatible
662+
let cache_tag = format!("cpython-{}{}", version::MAJOR, version::MINOR);
662663
let ctx = &vm.ctx;
663664
py_namespace!(vm, {
664665
"name" => ctx.new_str(NAME),

0 commit comments

Comments
 (0)