有没有办法获得__cpuid为MSVC中的ARM64体系结构提供的相同信息?
我看过Windows标头 const auth = firebase.auth();
const db = firebase.firestore();
// sign up the user
auth.createUserWithEmailAndPassword(email, password).then((cred) => {
// set admin to true for the only first user
return db.collection('users').doc(cred.user.uid).set({
admin: true
})
}).then(() => {
console.log();
}).catch(err => {
});
,但发现没有用。
https://github.com/boostorg/beast/blob/boost-1.68.0/include/boost/beast/core/detail/cpu_info.hpp#L49
<intrin.h>